when i want to transport my program from symbian series60_v1.2 to series60_v2.0, i can compile successfully in VC 6 IDE, and can run successfully in the emulator.
but when i use this command to compile:
>abld build thumb urel
there will be some messages:
error:DLL "test[0660248].app" has initialised data
make [1]: ***[..\..\..\..........app] error -2
I spent two days and can not find the solution.
who can help me!
and thank you very much
As error says you have dll's initialized data. Check for them . You can use only const data. If you cannot remove them there is a problem on your app design
thank you for your answer
but my program can run this command "abld build thum urel" correctly in symbian series60_v1.0,
and i don't know what and where is the initialised data.
Then how can I remove it? from the .rss file?or from the class header? OH, god help me
thank you
but you are wrong
i can run it correctly on my phones of 3650and 7650
now i want to change it to 6600. but i cannot compile it successfully under series60_v20
Hmmm. Does it run on 3650/7650 compiled with series60_v20??? I finally undestood your problem. You get the error on compile time. But still you have to remove dll's initialized data.
thank you
but you still misunderstand it.
I can compile with "abld build thumb urel" correctly in the series60_v10 platform, and can run the program on 3650/7650. yet it cannot be complied correctly under series60_v20 with the command "abld build thumb urel", so that i cannot get anything. In the same time,when under series60_v20 platform after running the command "abld makefile vc6". i can compile the WINS program with VC6 , and can run correctly in the emulator.
Hi,Lucian
your first answer is right.
"You can use only const data"
this sentence is vital!
when i remove the global data this problem disappears.
thank you and kiss you