On Thu, 26 Jun 2003 [EMAIL PROTECTED] wrote: > Then the expression: > > &packed->status > > is the offset of the "status" member from the base address of a > LibPackedDBRecord. Note that &packed->status does not reference the > value of "status" but only yields the offset of "status". DmWrite > requires the offset.
Figured that's probably what it was. That raises the question, though, do the Palm OS headers not have an offsetof() macro? Or was this just to confuse? :-) -- ----------------------------------------------------------------------- Brian Smith // avalon73 at arthurian dot nu // http://www.arthurian.nu/ Software Developer // Gamer // Webmaster // System Administrator "Senate, n.: A body of elderly gentlemen charged with high duties and misdemeanors." -- Ambrose Bierce -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
