Appinfo is supposed to be extendable. You just need to have the first member
of the appinfo be an AppInfoType. The category functions will just operate
off the front of your extended appinfo block.

You'd do this:

typedef struct {
  AppInfoType PalmAppInfo; // this is Palm's std stuff for categories
  Word        whatever;    // this is your stuff
  // etc
} MyAppInfoType;

typedef MyAppInfoType * MyAppInfoPtr;

- John Schettino
Palm OS Programming for Dummies: http://schettino.tripod.com

-----Original Message-----
From: Richard Bram
To: Palm Developer Forum
Sent: 3/15/00 12:47 PM
Subject: AppInfo question

I guess that one needs to have the standard data in the standard
places within the appinfo block in order to successfully use the
built-in category routines. But is it OK to add extra application-
specific data to the end of the appinfo info, without breaking the
category traps? I thought this would be obviously true, but when
I tried to do it, everything broke...


Thanks,

Rick Bram



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

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

Reply via email to