Hi,
I have a doubt regarding the use of "errthrow" for a PalmOS 68k device application development using PODS:
There is some disadvantage in using the standard "throw" instead of the 68k's "errthrow" ?
I just started the use of it and check that using "throw" the program compiles with no problem apparently.
Are you working on a 68K application or a Palm OS Protein application?
For 68K applications, the C++ try/catch/throw operators do not have proper runtime support with the PRC-Tools toolset provided with PODS. ErrThrow acts like setjmp/longjmp and is supported.
For 68K applications using CodeWarrior for Palm OS, the C++ throw support works, but you should not throw an exception from within a callback function, since that would have the exception pass through operation system code that doesn't provide exception tables, and would cause the CW runtime to terminate your application.
-- Ben Combee, Technical Lead, Developer Services, PalmSource, 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 Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
