newlc.com
Articles Only
Forum Only
Community
World-Wide Web
Home
News
Tutorials
Reviews
Downloads
Professional Services
Forums
Newsletter
Blog
About us
Last forum posts
Home
::
Forums
::
Development
::
Symbian C++
User login
Username:
*
Password:
*
Create new account
Request new password
Featured pages
Configure your PC for Symbian development
Getting started with Symbian development
Symbian OS Error Codes
Common products UIDs
Nokia S60 SDK
Featured Software
NlMakesis
Y-Browser
Y-Tasks
Active users (last 30 days)
User
Score
rbrunner
54
eric
54
Andreas
46
sandeepmhptr
41
alh
32
more
Feeds
More feeds...
How to set a global variable in Symbian C++
Login
to reply to this topic.
Fri, 2005-06-24 16:22
symbianboy
Joined: 2005-06-15
Forum posts: 9
hello, i want to use a global variable for several classes, how can i set it?
Thanks
Login
or
register
to post in forums
Fri, 2005-06-24 17:01
saurabh_gyl
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
sree.iitm
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
razeeth
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.
Forum posts: 83
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
Forum posts: 33
Using singleton class is the good idea to have such variables.
Forum posts: 57
-----------
Razeeth
Explore beyond the limits