At 09:59 PM 2/9/2006, you wrote:
Thanks for the post. Are you saying that I should edit "ThunkPalmOS.c" and create my own "*NoThunk" functions? I'm confused.

No, I'm saying that

1) you need to add ThunkPalmOS.c to your source files.
2) you need to remove the prefix file from the C/C++ language settings
3) include <ThunkPalmOS.h> instead of <PalmOS.h> in your source

Using a prefix file that includes a precompiled header, the usual practice, will conflict with the modifications that ThunkPalmOS.h makes to the header.

Thanks for the clarification. The only thing in my prefix file is a single #define and the #include for PalmOS_Headers_Strict -- does the latter need to be removed? I'm hoping not, since it wrecked havoc when I did. If so, I'm assuming I can still have a prefix file with my #define, but let me know if otherwise.

Just remove the #include of <PalmOS_Headers_Strict>... you could replace it with #include <ThunkPalmOS.h>.


-- Ben Combee, Senior Software Engineer, Palm, Inc.
   "Combee on Palm OS" weblog: http://palmos.combee.net/
   Developer Forum Archives:   http://news.palmos.com/read/all_forums/


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

Reply via email to