Hi Joe!
thanks!!!
I have found my error! you are right, i was trying to
access to the variable AppRefNum in PilotMain()
thank you
ana


--- Joe <[EMAIL PROTECTED]> wrote:
> > > "ana erdozain" <[EMAIL PROTECTED]> wrote in
> > > >
> > > > Hi!!
> > > > how can i load my application in PDA with
> Hotsync
> > > > software?
> > > > whenever i load it in the PDA pressing the
> debug
> > > > button and tapping "shortcut..2", when i
> finish a
> > > > Fatal Error occurs always, and i must do a
> hard
> > > reset.
> > > > i don't know why.
> > > > what should i do?
> > > > thank you in advanced!
> > > > ana
> > > >
> 
> HotSync is not likely the source of your problem. 
> Your app probably
> has an error in it.  When HotSync installs your app,
> it sends a launch
> code to it.  Global variables are not available at
> that time.  Your app
> probably tries to use a global variable when it gets
> that launch code
> and that causes a fatal error.
> 
> To check if this is what's happing, look carefully
> at your PilotMain()
> and see what happens if it receives a launch code
> that is not
> sysAppLaunchCmdNormalLaunch.  Does your app try to
> set a global
> variable before exiting?
> 
> 
> __________________________________________________
> Do You Yahoo!?
> LAUNCH - Your Yahoo! Music Experience
> http://launch.yahoo.com
> 
> -- 
> For information on using the Palm Developer Forums,
> or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/


__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

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

Reply via email to