Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Load order of implicitly linked DLLs

Load order of implicitly linked DLLs

Scheduled Pinned Locked Moved C / C++ / MFC
windows-adminquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    Wolfram Steinke
    wrote on last edited by
    #1

    I did know the answer once upon a time but can't for the life of me remember. How can I ensure that implicitly linked (at compile time) are loaded in a particular order. I have to have time to read the registry in the App's InitInstance before one of the DLLs is loaded. Happy programming!!

    C J 2 Replies Last reply
    0
    • W Wolfram Steinke

      I did know the answer once upon a time but can't for the life of me remember. How can I ensure that implicitly linked (at compile time) are loaded in a particular order. I have to have time to read the registry in the App's InitInstance before one of the DLLs is loaded. Happy programming!!

      C Offline
      C Offline
      Chris Meech
      wrote on last edited by
      #2

      I doubt that order is going to help you here. All of the implicitly linked DLL's will be loaded before the call to your App's InitInstance takes place. If your program requires to read data from the registry before a DLL is loaded, then you will have to Load/Free the DLL in your code. Chris Meech "what makes CP different is the people and sense of community, things people will only discover if they join up and join in." Christian Graus Nov 14, 2002. Oh and for those that ask programming questions in the lounge. Seek the truth here[^].

      1 Reply Last reply
      0
      • W Wolfram Steinke

        I did know the answer once upon a time but can't for the life of me remember. How can I ensure that implicitly linked (at compile time) are loaded in a particular order. I have to have time to read the registry in the App's InitInstance before one of the DLLs is loaded. Happy programming!!

        J Offline
        J Offline
        JT Anderson
        wrote on last edited by
        #3

        The DELAYLOAD linker option, perhaps? -------- There are 10 types of people in this world. Those who know binary and those who don't.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups