Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Other Programming Languages (http://www.programmingforums.org/forum38.html)
-   -   Pocket PC's (http://www.programmingforums.org/showthread.php?t=13347)

crawforddavid2006 Jun 14th, 2007 6:17 PM

Pocket PC's
 
I'm starting to program for pocket pc's, and i was wondering where the best place is to save files on a pocket pc. Could someone help me please

lectricpharaoh Jun 14th, 2007 7:28 PM

If the files comprise a software installation, you might want to save them in the \Program Files directory. If they're data files (.MP3s, pictures, whatever), my suggestion is a big removable storage card. Most PDAs these days have either a Secure Digital card slot (up to 2G, or higher if it supports SDHC) or CompactFlash slot. The latter comes in large sizes, and it's fast, and you can even get little hard drives (MicroDrives, formerly manufactured by IBM, now by Toshiba I think).

What language were you planning on using? You can use VB.NET (ugh) or C#.NET, or you can write native code using C++. The latter will be harder, but likely yield higher-performance code. Using a .NET language, though, will be a lot easier, and may well yield smaller executables- as the framework is already in ROM, you don't need large .DLLs or huge statically-linked executables.

crawforddavid2006 Jun 14th, 2007 8:01 PM

I'm planning on programming in C#.Net, and since i'm a complete noob to Pocket PC's, how do i save a file in the Program Files Directory? I know on a regular pc its usually c:\Program Files, is it the same on a Pocket PC?

crawforddavid2006 Jun 15th, 2007 3:55 PM

Does anyone know what the exact path is to the program files directory on a pocket pc?

lectricpharaoh Jun 15th, 2007 6:41 PM

Quote:

Originally Posted by crawforddavid2006
Does anyone know what the exact path is to the program files directory on a pocket pc?

The file system on PocketPCs is implemented a little bit differently, to allow for such things as read-only storage combined with read/write storage. You should find the "Program Files" directory in the root directory of the device (hence the leading backslash in my initial post).


All times are GMT -5. The time now is 2:47 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC