This site is no longer active and is available for archival purposes only. Registration and login is disabled.

loading pic


loading pic

Postby Kworz » Jun 27, 2003 @ 8:36am

Kworz
pm Member
 
Posts: 4
Joined: Jun 10, 2003 @ 6:38am


Postby Dan East » Jun 27, 2003 @ 10:52am

Windows CE doesn't support the concept of a Current Working Directory. All paths must be explicit and relative to the root.

You can use GetModuleFileName to retrieve the full path and filename of the current running EXE. After you strip the filename off you can use that path as the base for your datafiles.

Dan East
User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby ppcStudios » Jun 27, 2003 @ 12:26pm

Take a look through my posts (do view profile and you can find a list of all my posts there) and you'll find source for a getFullPath method. It will return the absolute path of a relative path filename.

EDIT: Also, I 'believe' GD201b supports this method internally although I've not tested it.
G.R. Moore
President/CEO
Pocket PC Studios
www.ppcstudios.com

Image
User avatar
ppcStudios
pm Insider
 
Posts: 744
Joined: Aug 23, 2002 @ 3:53pm
Location: Canfield, Ohio


Return to GapiDraw


Sort


Forum Description

The Cross-platform Graphics SDK for Palms, Pocket PCs, Symbian Devices, and Stationary PCs.

Moderators:

sponge, Johan

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum