Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User eroslin's Avatar
    Join Date
    Jun 2008
    Posts
    23
    Hi,
    I have make one dll and with two global variable.

    VideoBootStrap EPOC_bootstrap = {
    "epoc\0\0\0", "EPOC system",
    EPOC_Available, EPOC_CreateDevice
    };

    /* Available video drivers */
    static VideoBootStrap *bootstrap[] = {
    &EPOC_bootstrap,
    NULL
    }

    bootstrap show 2 values but bootstrap[0]'s all memeber are 0xffffffff.

    After that, I make it one static link library, then everything become okay.
    What's wrong in dll?

    Lin

  2. #2
    Registered User laa-laa's Avatar
    Join Date
    Aug 2003
    Location
    Oulu, Finland
    Posts
    1,122
    Looks like the common writeable static data in DLL problem.
    http://www.symbian.com/Developer/tec...taticData.html

    To me the code hints that you don't need to change your struct/array after initialization so this can probably be fixed by making both of them const.

    Lauri

  3. #3
    Registered User eroslin's Avatar
    Join Date
    Jun 2008
    Posts
    23
    Caused by TRK, after upgrade TRK, all goes okay.

Similar Threads

  1. Help with lnk2019 lnk1120 error
    By yuenfatt in forum Symbian C++
    Replies: 8
    Last Post: 2007-08-24, 08:21
  2. Replies: 4
    Last Post: 2007-05-31, 07:06
  3. Carbide.vs 2.01 Registration Problem
    By baykal in forum Symbian Tools & SDKs
    Replies: 5
    Last Post: 2006-12-22, 16:55
  4. error LNK2001: Please Help
    By sourish_khan in forum Symbian C++
    Replies: 9
    Last Post: 2006-04-19, 11:16
  5. Building
    By pacman2000z in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2003-07-17, 10:44

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved