unmanaged dll in 1 place

  • Thread starter Thread starter Daylor
  • Start date Start date
D

Daylor

i built a c++ managed class library,that is wrapping an unmanaged dll.

when im using the the managed/wrapper dll , i must copy the unmanaged dll
to the directory of the client application.

the question:
what setting , i need to do to the c++ managed project , so ,when client
project will use it, they dont need to copy the unmanaged dll to their
directory ? (this way, the unmanaged dll, will be only in 1 place ).

have a nice day.
 
But this is nothing to do with the managed wraper DLL. A program expects the
DLL it's trying to use to be in the same directory as itself, the windows
directory or the windows system directory. Otherwise you can use
LoadLibrary/GetProcAddress etc...
 
Back
Top