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. Detect Dlls dynamically and statically load it

Detect Dlls dynamically and statically load it

Scheduled Pinned Locked Moved C / C++ / MFC
windows-adminhelp
2 Posts 2 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.
  • U Offline
    U Offline
    User 1740976
    wrote on last edited by
    #1

    is there any way that i can write a generalized program to dynamically detect any number of Dll in a folder and statically link them. upto now i have my application that statically links and implicitly loads the dlls. i will detect the newly added dlls and keeps information in File.The infor mation in the file and registry information is enough. The problem is how i can my appliation understand the new dlls, how can oi include the headerfiles. IS THERE ANY POSSIBILITY

    A 1 Reply Last reply
    0
    • U User 1740976

      is there any way that i can write a generalized program to dynamically detect any number of Dll in a folder and statically link them. upto now i have my application that statically links and implicitly loads the dlls. i will detect the newly added dlls and keeps information in File.The infor mation in the file and registry information is enough. The problem is how i can my appliation understand the new dlls, how can oi include the headerfiles. IS THERE ANY POSSIBILITY

      A Offline
      A Offline
      Andrew Walker
      wrote on last edited by
      #2

      As far as I know, this isn't possible. Static linking implies that all code be known and identified at link-time, static linking is effectivly dynamic linking with hidden 'glue' that uses staticly bound stubs to dispatch to the dll. This is possible and very simple to do with dynamic linking provided your class heirarchy supports it.


      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