Hi!
I am trying to create a database in my application.
To create the database and open it I use these
functions:
dbP = DmOpenDatabaseByTypeCreator(
appDBType,appCreator, mode);
error = DmCreateDatabase (0, appName,
appCreator,appDBType, false);
where appDBType is �data� and appCreator is 'Airport'.
When I load this application in the pda (with hot
sync) and the application runs, if try to get data
from the database an error occurs, and the application
must be reset.
1- Could this error happens by the way to open or
create this database? Because in one example, I have
seen, that the variable appCreator isn�t definer in
the own program.
2-which launch codes I need?
SysAppLaunchCmdInitDatabase and
sysAppLaunchCmdSyncNotify. Are needed?
I get the data from a connection, I open a socket (I
use net library) and I receive a string of data, I
convert this string of data to the database.
Thank you in advanced!
Ana
__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/