At 1:32 AM +0200 04/25/00, Derek Kite wrote:
>Ok, so a UInt value to set. Now how to read? Should be a pointer to a UInt?

Yes, it should be a POINTER to a 16-bit value (UInt16 in latest OS.)  Both
the get and set calls expect pointers to variables here, not the variables
themselves.

e.g.

   UInt16 version;
   version = 12;
   DmSetDatabaseInfo ( cardno, dbID,
                        NULL,
                        NULL,
                        &version,
                        NULL,
                        NULL,
                        NULL,
                        NULL,
                        NULL,
                        NULL,
                        NULL,
                        NULL ))

                                --Bob



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to