At 12:36 PM +0200 11/11/99, Dan Hod wrote:
>Does someone have any idea why can't I create a new class within
>"sysAppLaunchCmdExgReceiveData" ?
I don't know C++ but I'll venture a guess since no one else has answered. I'd guess
that it requires access to globals for some reason - perhaps to access the vtable? You
don't have access to globals when you receive this launch code without
sysAppLaunchFlagSubCall. The precise conditions under which you do have access to
globals is a little hard to figure out, but it's approximately:
normal launch
goto (with or without new globals)
find (sub-launch only - but sub-launch flag isn't set on Mac simulator and it
should be)
others (sub-launch only)
If your app is multi-segment, these are the same conditions which determine what code
has to be in the first segment.
-
Danny Epstein, Applied Thought Corporation
Have friends with Palm organizers? Get BeamBooks!
http://www.appliedthought.com/beambooks