I seem to have the opposite problem. My app seems to work fine on the SD card,
but won't work on the device itself.
I'm assuming that that would be a similar problem?
I'm using this
UInt32 volumeIterator;
FileRef theDatabaseFile;
volumeIterator = vfsIteratorStart;
while ( (volumeIterator != vfsIteratorStop) &&
(VFSVolumeEnumerate (&volumeRefNum, &volumeIterator) == errNone) )
if ( (theDatabaseFile = FindFile (volumeRefNum,
"/PALM/Launcher",theDatabaseName)) ! = NULL )
volumeIterator = vfsIteratorStop;
Assuming this will iterate thru all volumes. But it seems it doesn't find the
internal volume for some reason.
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/