-----Original Message-----
From: Alexandre Luz Barreto [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 18, 2004 7:39 PM
To: Palm Developer Forum
Subject: How do i write a appinfo in a database?


i need to write a pdb that a program in CASL will read
so i have to write the appinfoarea with the information casl needs
i�m doing the following to put a Appinfo in my database

AppInfoHandle =(Handle)MemHandleNew(1499);
StrCopy((char*)MemHandleLock(AppInfoHandle),AppInfoArea);   
DmSetDatabaseInfo (0,dbID,NULL,NULL, NULL,NULL, NULL,NULL,
        NULL,(LocalID*)MemHandleToLocalID (AppInfoHandle), NULL,NULL, NULL);
MemHandleUnlock(AppInfoHandle);

where AppInfoAre is a char[1499];

this is not working..since there is no appinfo area after that...
thanx

-- 
Hy, Alexandre ,
  What information You need to store.You can save in global preferences.
Thanks
Annada

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to