.app has initialised data

Login to reply to this topic.
Sat, 2005-03-19 11:38
Joined: 2004-12-23
Forum posts: 239
dll myapp[0x10112e0].app ahs initialised data....
I mgetting this linker errorr.(for aRMI UREL)
what does it means...and why it happens
Does anybody have any idea..
Pls help me..
thanks

---------------
Bhatt Kavita


Sat, 2005-03-19 14:41
Joined: 2004-02-05
Forum posts: 176
.app has initialised data
Symbian does not allow writable global data in a Dll/App.  There have been many threads written explaining this topic, so search around the forums.

Here is a good article explaining the issue and how to find your writable global data.

http://www.newlc.com/article.php3?id_article=529&var_recherche=global+data

Symbian's explanation of why they don't currently support it
http://www3.symbian.com/faq.nsf/0/71C212DB06DCE71380256D6E005AD2A8?OpenDocument

Darin

Mon, 2005-03-21 07:06
Joined: 2004-12-23
Forum posts: 239
.app has initialised data
Thanks Dishneau

Now I have resolved my problem..
Thanks for such valuable article......
Thanks again.

---------------
Bhatt Kavita

Mon, 2005-03-21 07:44
Joined: 2004-12-23
Forum posts: 239
.app has initialised data
Thanks Dishneau

Now I have resolved my problem.. Cheezy
Thanks for such valuable article......
Thanks again.

---------------
Bhatt Kavita

Fri, 2005-03-25 09:40
Joined: 2004-11-02
Forum posts: 52
.app has initialised data
Just FYI, though maybe you've already known it.

Adding EPOCALLOWDLLDATA to your .mmp would enable you to use global writable static data in your .app DLL. But you must be sure of the cost, wastage of RAM.

Check this technical paper from symbian:
http://www.symbian.com/developer/techlib/papers/cpp_programming_technique.asp#static_data

NewLC #2150

Fri, 2005-03-25 20:02
Joined: 2004-02-05
Forum posts: 176
.app has initialised data
Yes, this is true if you are developing against Symbian's new real-time kernal (EKA2), Symbian 8.0b & Symbian 8.1b.  But if you are developing against 6.1, 7.0, 7.0s, 8.0a. 8.0b this method will not work.

Even if you are developing against the EKA2, Symbian strongly encourages one of the many documented alternatives to global data.

Darin

Tue, 2005-03-29 06:24
Joined: 2004-12-23
Forum posts: 239
.app has initialised data
Thanks

dishneau and ssuu for such a valuable information..

Thanks again....for pouring ur valuable time over this problem.
I have dropped the idea of using global variable.
From where I can get the documented articles for alternatives of global variable,
Thanks again,,

---------------
Bhatt Kavita

  • Login to reply to this topic.