Like I said at the beginning of this thread, I feel dumb as a stick. Whenever I figure these things out they seem so darn simple I could kick myself. You know what the problem was? I didn't realize this, but my rendition of CPalmApp::AppStop() was being executed even when CPalmApp::NormalLaunch() wasn't. I had referenced code in another segment in AppStop(), and one little if statement fixed it:

void CMyApp::EventLoop() {
if(m_wCommand == sysAppLaunchCmdNormalLaunch) {
 //do a bunch of stuff with no fear
 }
}

duh.... me fix... huhuhu(drool...

-Mark

----- Original Message ----- From: "Ben Combee" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[email protected]>
Sent: Thursday, January 20, 2005 3:28 PM
Subject: Re: Trouble installing app




If the problem is it's trying to execute a jump that's
past 32k, is there a way to trap it & see where the
jump is coming from?

Not really... it's not the >32K jump that's the problem -- it's a jump through the intersegment jumptable (an offset from A5), since A5 isn't actually pointing to valid data when global variables aren't available.



-- 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/


--
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/

Reply via email to