Try this : char name[] = "fawazsaleem";

-----Original Message-----
From: fawaz bokhari [mailto:[EMAIL PROTECTED]]
Sent: Friday, 05 July, 2002 12:13
To: Palm Developer Forum
Subject: accessing global variable problem


Hi,

I am having problem with global variables. I have
declared a "char*" variable, I have assigned a text to
that string like this:
/*
char* name = "fawazsaleem"; 
*/

When I use this variable some where else in the
application, then it says error:
"Unallocated memory chunk. the appliation is accessing
a memory location that is not in the RAM..."

How to overcome this problem and also please tell me
the procedure to create a global variable.

Waiting for the reply.
Fawaz

__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com

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