unmanaged dll in 1 place

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.
 
N

Nishant S

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...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top