All About Symbian - Nokia (S60) and Sony Ericsson (UIQ) smartphones unwrapped

Old 28-06-2004, 11:54 AM
Posts: n/a
Global Variables

Could successfully generate a static library having global variables. A executable(.exe) uses this static library. Was able to generate the exe for Thumb.

Are global variables allowed in static library(.lib) in symbian?

Are global variables allowed in exe in symbian?

What if this static library is used by a DLL, would it compile succesfully ?

Can we use Thread Local Storage and DLL class functions(SetTls(), Tls()) in static library?

Thanks in advance for all the help.

Old 15-11-2004, 02:34 PM
Posts: n/a
Hi , As far as my understanding .lib files are used for linking the symbols and where function is located in DLL . So at run time application will use DLL to execute particular functions . Anyhow Symbian won't support static global data's in DLL and you should use thread storage stuff like settls() functions .


global, variables

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Global Mobile Operator Database headshox Nokia 7650 1 31-03-2003 02:44 PM
Global Mobile Operator Database headshox Sony Ericsson P800, P900 and P910 0 31-03-2003 02:20 PM
Global Mobile Operator Database headshox Nokia 3650, 3660, and 3620 0 31-03-2003 02:12 PM

All times are GMT. The time now is 12:14 AM.

vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright Notes || Contact Us || Privacy Policy