Assuming that you called the library from a state where you had access to
globals (not a Find launch code, for example), then your callback will still
have access to globals.

You call the library from your program's stack and A5 setup, so your
"globals scope" has not disappeared while in the library, hence it is still
there when your library calls back into your code.

Kevin

> -----Original Message-----
> From: Borislav Kolev [mailto:[EMAIL PROTECTED]]
> Sent: Friday, September 22, 2000 8:46 AM
> To: Palm Developer Forum
> Subject: Callback from shared library to the main program
> 
> 
> I've run into case where a shared library has to call back 
> the program that
> called it.
> My question is: can the program's callback access its global 
> variables at
> this time and why?
> 
> Thanks,
> bobby
> 
> -- 
> For information on using the Palm Developer Forums, or to 
> unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
> 

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

Reply via email to