How to set a global variable in Symbian C++

Login to reply to this topic.
Fri, 2005-06-24 16:22
Joined: 2005-06-15
Forum posts: 9
hello, i want to use a global variable for several classes, how can i set it?

Thanks

Fri, 2005-06-24 17:01
Joined: 2004-12-31
Forum posts: 83
Re: How to set a global variable in Symbian C++
hi symbianboy

u cannot have any global data in any symbian app. although it compiles for wins but it will give u error when u compile it for target device.

warm regards

saurabh

Fri, 2005-06-24 19:01
Joined: 2005-05-09
Forum posts: 33
Re: How to set a global variable in Symbian C++

Using singleton class is the good idea to have such variables.
Mon, 2005-06-27 05:31
Joined: 2005-04-17
Forum posts: 57
Re: How to set a global variable in Symbian C++
see this discussion http://forum.newlc.com/index.php/topic,3245.0.html , this would be helpful.


-----------
Razeeth

Explore beyond the limits

  • Login to reply to this topic.