In real code this is of course in the main code section, but I mean
it gaves no errors when compiling like that. My real problem is about game_loop() procs. if I disable it also no errors occurs and application works fine without game_loop(). What is wrong inside my game_loop() is my problem.
Thanx.
With My Best Regards Yilmaz Yoru Eskisehir/TURKEY
Ben Combee wrote:
At 02:34 AM 10/25/2004, you wrote:
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/
