I am trying use the VFSImportDatabaseFromFile to load another prc file. It
seems to error out and say file not found.
I am using a tungsten T5 and when I copy the file to internal it does not give
me the choice of where to put it so I am assuming it is always Palm\\Launcher\\
? This this correct
thanks
dbID=DmFindDatabase (0, cnstLaunchName); // Find the application to launch
if (dbID == 0) // try vfs
{
// get volumn
while (volIterator != vfsIteratorStop)
{
Err1 = VFSVolumeEnumerate(&volRefNum, &volIterator);
if (Err1 == errNone)
{
Err1 = VFSImportDatabaseFromFile
(volRefNum, "Palm\\Launcher\\innoflights.prc", 0, &dbID);
if (Err1)
{ ErrAlertCustom(Err1,NULL,NULL,NULL);
}
else {
FrmCustomAlert(1000,"Error Finding volumn","","");}
}
}
}
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/