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. How system finds DLLs

How system finds DLLs

Scheduled Pinned Locked Moved C / C++ / MFC
c++question
4 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.
  • K Offline
    K Offline
    kapax5
    wrote on last edited by
    #1

    After linking C++ project with specific .libs and when I run it, how does a system find the corresponding DLLs if they are not in the same directory? There should be some rules for that, as far as I know.

    N C 2 Replies Last reply
    0
    • K kapax5

      After linking C++ project with specific .libs and when I run it, how does a system find the corresponding DLLs if they are not in the same directory? There should be some rules for that, as far as I know.

      N Offline
      N Offline
      Niklas L
      wrote on last edited by
      #2

      I believe the answer is right here[^] in a document titled Dynamic-Link Library Search Order.

      home

      K 1 Reply Last reply
      0
      • N Niklas L

        I believe the answer is right here[^] in a document titled Dynamic-Link Library Search Order.

        home

        K Offline
        K Offline
        kapax5
        wrote on last edited by
        #3

        Thank you. I have been looking precisely for this.

        1 Reply Last reply
        0
        • K kapax5

          After linking C++ project with specific .libs and when I run it, how does a system find the corresponding DLLs if they are not in the same directory? There should be some rules for that, as far as I know.

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

          Most of the search rules are explained here[^]. :)

          Chris Meech I am Canadian. [heard in a local bar] In theory there is no difference between theory and practice. In practice there is. [Yogi Berra]

          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