According to the PalmOS Programmer's API Reference, the function ExgDBRead takes as a second argument a pointer to a function which is supposed to resolve name conflicts (i.e., when the database being sent to the device has the same name as an already existing local database):
http://www.palmos.com/dev/support/docs/palmos/PalmOSReference/ExchangeManager.html#1055573 According to the same documentation, the format of this "delete" function is the following: http://www.palmos.com/dev/support/docs/palmos/PalmOSReference/ExchangeManager.html#1056921 > Prototype > > Boolean ( > *ExgDBDeleteProcPtr > ) ( > const char *nameP, > UInt16 version, > UInt16 cardNo, > LocalID dbID, > void *userDataP >) > >Parameters > >â nameP > A pointer to the name of the identical database. >â version > The version of the identical database. >â cardNo > The card number of the identical database. >â dbID > The database ID of the identical database. >â userDataP > The userDataP parameter you passed to ExgDBRead(). If used, > this parameter contains any application-specific data you find > necessary. If the ExgDBReadProcPtr() function is implemented using > Exchange > Manager calls, this often contains the ExgSocketType > structure. My question is - what does "the identical database" mean exactly in this context? There are *two* of them that have the same name - the one that is being sent, and the one that is present on the device. Which one of the two is referred to by the cardNo/dbID pair? Regards, Vesselin -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
