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. ATL / WTL / STL
  4. C++ - how to refer any header file from a dll while loading throu loadLibrary ?

C++ - how to refer any header file from a dll while loading throu loadLibrary ?

Scheduled Pinned Locked Moved ATL / WTL / STL
questionc++tutorial
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.
  • D Offline
    D Offline
    DavJes
    wrote on last edited by
    #1

    Hi I m trying to load the dll using LoadLibrary which works fine. But for one of the method paramter is an object of class which is refered inside the dll . So in this case in my client app how do i refer the .h file which is already refered in the dll inside ? As i m trying to link dynamically how does header file references are dealt with ? Thanks

    L 1 Reply Last reply
    0
    • D DavJes

      Hi I m trying to load the dll using LoadLibrary which works fine. But for one of the method paramter is an object of class which is refered inside the dll . So in this case in my client app how do i refer the .h file which is already refered in the dll inside ? As i m trying to link dynamically how does header file references are dealt with ? Thanks

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      DavJes wrote:

      So in this case in my client app how do i refer the .h file

      The same way as any header file is referenced; either add it to your project or add the location to the list of include directories. If you are saying that you do not have access to the header file, then you have a problem.

      I must get a clever new signature for 2011.

      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