Hi Akhilesh,
Global variables are initialized  by the Palm OS and can be accessed only
when the
sysAppCmdNormalLaunch ,sysAppCmdGoto and sysAppCmdURL
launch codes are received by the application.
So may be due to these reasons u are unalble  to do what u want to.
Tats all I know.
Check out the Palm OS Docs for more help.
Regards,
Vikas
----- Original Message -----
From: Akhilesh Singh <[EMAIL PROTECTED]>
To: Palm Developer Forum <[EMAIL PROTECTED]>
Sent: Monday, March 25, 2002 6:41 PM
Subject: Launchcode and MemPtrNew


> Hi,
>
> I am developing a plugin that is launched using SysAppLaunch with a custom
> launch code.
>
> Along with the launch code, I am passing some data to it for processing.
> When I send the data that is present on stack the plug-in runs fine. But
if
> the data is allocated using MemPtrNew then the Emulator gives me error of
> accessing global variable. But MemPtrNew allocates memory from the
> Application Dynamic Memory area and not the Application Global memory
area.
> So why am I getting the error?
>
> Thanks
> -AS
>
>
> --
> 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