UInt32 PilotMain(UInt16 cmd, MemPtr cmdPBP, UInt16 launchFlags) SECT2;
PilotMain must always be in the main code section. You can't move it to a secondary section, as it's called in situations where the secondary code sections aren't loaded into memory.
-- Ben Combee, Technical Lead, Developer Services, PalmSource, Inc. "Combee on Palm OS" weblog: http://palmos.combee.net/ Developer Fourm 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/
