×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User
    Join Date
    Aug 2004
    Posts
    5

    help:problem from 1.0 to 2.0!!

    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
    Last edited by greatmo; 2004-08-19 at 16:04.

  2. #2
    Super Contributor
    Join Date
    Jul 2004
    Location
    Romania
    Posts
    560
    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

  3. #3
    Registered User
    Join Date
    Aug 2004
    Posts
    5
    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

  4. #4
    Super Contributor
    Join Date
    Jul 2004
    Location
    Romania
    Posts
    560
    Yes it compiles corectly but it crashes when you try to run it.

  5. #5
    Registered User
    Join Date
    Aug 2004
    Posts
    5
    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

  6. #6
    Super Contributor
    Join Date
    Jul 2004
    Location
    Romania
    Posts
    560
    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.

    Lucian

  7. #7
    Registered User
    Join Date
    Aug 2004
    Posts
    5
    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.

  8. #8
    Registered User
    Join Date
    Aug 2004
    Posts
    5
    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

  9. #9
    Super Contributor
    Join Date
    Jul 2004
    Location
    Romania
    Posts
    560
    I'm glad you solved the problem finaly.

    Lucian

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×