"Peyman Purparhizkar" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I have written a simple code that doesnt work, I am running this program
in
> debug mode while Emulator is running, when I build with F7 I get the
> following warning  :
> "global variable ptr is accessed using A5 register ..."

Umm.. Why not replace

static char far ptr[10000];

with

static char* ptr;

then allocate the memory spperately:

ptr = MemPtrNew(10000);

If that doesn't help things, secondly, what type of launch code are you
giving the program when starting debug mode? (a no-globals launch?)

Alan



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

Reply via email to