Annada Prasana wrote:

-----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



i need to write in the appinfoare.. because its information about the database.. the number of fields.. and other informations casl uses when reading a database..

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

Reply via email to