I want to access the internals of the form structure. Because they are subject 
to change in the next OS version they have a #ifdef for a conditional compile, 
for example:

typedef struct FormObjListTag
#ifdef ALLOW_ACCESS_TO_INTERNALS_OF_FORMS       // These fields will not be 
available in the next OS release!
{
        FormObjectKind                          objectType;
        UInt8                                           reserved;
        FormObjectType                          object;
}
#endif
FormObjListType;

I can comment out the #ifdef, #endif, but I would prefer to set the variable 
ALLOW_ACCESS_TO_INTERNALS_OF_FORMS. I have never done conditional compiles in 
CW, how do I set ALLOW_ACCESS_TO_INTERNALS_OF_FORMS so that I can access the 
form structure?

Thanks

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

Reply via email to