Thanks Bob for the reply.
> AppLaunchWithCommand is just a macro that eventually expands to a call to
> SysUIAppSwitch, so it's not really different. (Run the source through the
> preprocessor to see what actually gets generated.)
Actually, the way I found AppLaunchWithCommand was by "grepping" for
code that used SysUIAppSwitch (so I knew that part). I was originally
having difficulty determining what values to use for some of the parameters
(like "card"). I didn't run the preprocessor, but rather looked at
the header file.
> >The problem is that the emulator totally crashes on this line. Is
> >there more required for this to work correctly?
>
> I have no idea why the emulator should crash here... probably you mean the
> ROM generates a fatal exception though, and the emulator does not itself
> crash. The thing to do from here is debug the problem using the
> poserdebugger.
No, I mean the emulator crashed! Windows gave me the message that
the application had performed an illegal instruction and then the emulator
disappears from the desktop! I'll keep playing with this some more
to see if I can figure it out!
Dave.
--
Dave Smith
Colorado Springs, CO USA