Hi All, anyone done a custom keywork set for the palm api ? I tried to get it to look at the api headers, but that didn't work... so to the font of all palm knowledge... How do I get the color syntax to recognise the full palm os ?? TNX Niel > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Tung > Nguyen > Sent: Thursday, May 11, 2000 12:21 PM > To: Palm Developer Forum > Subject: How do ExgDBWrite(), ExgDBRead() work ? > > > Hi everyone, > > Could anybody give me some sample codes on using ExgDBWrite() and > ExgDBRead(). I have the code "Beaming the whole database", taken from the > palm.com/devzone/knowledgebase. ExgPut() ExgSend(),etc. are used with > ExgDBWrite(). > > I just need to use ExgDBWrite() and ExgDBRead(). > As I understand from reading the Palm OS SDK, page 845, > in the callback function > Err WriteProc(const void* dataP, UInt32 *sizeP, void* userdataP) > dataP is the data, placed there by ExgDBWrite(), > *sizeP is the number of bytes. > > The SDK book says that WriteProc() will be call multiple times untils it > transmits all the data. If in the callback function, I do not assign > anything to *sizeP, sizeP still holds the value of total bytes of data, is > the callback called only once? I debug the program and the > callback function > WriteProc() is called many times. Everytime, *sizeP is different (72, 10, > 6, 10, ect..) I expect *sizeP to be a lot bigger (at least the size of the > database in Palm). > > Am I missing something when I try to use ExgDBWrite()? I look at the raw > data (dataP, the 1st parameter in WriteProc()) and it doesn't > look the same > as the raw data in the .PRC or .PDB file at all. > > I don't know what to try, please help. Thank you very much. > tnn > > > -- > For information on using the Palm Developer Forums, or to > unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/ > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
