Singleton Class
| Mon, 2008-05-12 11:34 | |
|
When I am m not using this edllstub.lib , getting Dll::SetTls and Dll::Tls() as undefined reference. I am looking forward for your quick response. Regards, |
|
| Mon, 2008-05-12 11:34 | |
|
When I am m not using this edllstub.lib , getting Dll::SetTls and Dll::Tls() as undefined reference. I am looking forward for your quick response. Regards, |
|
Forum posts: 586
If you are working with an exe (v9 application, console or server), there is no DLL TLS (thread local storage), since you are not building a dll. Thus no E32Dll entry point function, no TLS.
What is your binary like? There are other ways of implementing singletons, see here: http://developer.symbian.com/main/documentation/code_clinic/clinic_march_2008.jsp
Forum posts: 17
Hi,
Thanks for yur reply, but I am using in the Dll.
Regards,
Zahid
Forum posts: 586
And in v9 the dll entry point function is not used either in dlls. So just get rid of that function (or put it under conditional compilation if platform version is under v9).