i need to retrive a record in the MailDB

the struct of the record is the following:

typedef struct {
  Boolean secret;
  Boolean signature;
  Boolean confirmRead;
  Boolean confirmDelivery;
  MailMsgPriorityType priority;
  UInt8 padding
  Char* subject;
  Char* from;
  Char* to;
  Char* cc;
  Char* bcc;
  Char* replyTo;
  Char* body;
} MailAddRecordParamsType;


so when i use


email = (MailAddRecordParamsType*)MemHandleLock(recHandle);


being email a MailAddRecordParamsType


i get the first 6 variables of the struct
but the ones that are char* i get a invalid pointer.

whats the right way to retrive it?

since the mail aplication does that.

thnx

_________________________________________________________________
MSN Hotmail, o maior webmail do Brasil.  http://www.hotmail.com


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

Reply via email to