ASP.Net DLL Reference Search Paths?

C

Chris Ashley

I have a managed C++ wrapper which is referencing an unmanaged C++ DLL.
How can I modify the reference search paths for ASP 2.0 so it can find
the unmanaged DLL? It copies the managed DLL okay, but can't find the
unmanaged DLL ('the specified module coult not be found'). It only
seems to work when I place the unmanaged DLL in the System32 folder.
Doesn't work in the project root, solution root, or bin directory.
 
C

Cowboy \(Gregory A. Beamer\)

Unmanaged COM DLL or unmanaged native DLL?

COM requires a COM wrapper. For native, you will have to set up a proper
declaration (Pinvoke.com shows how to do this for WinAPI calls). The norm is
the System32 directory, but, if I remember correctly, you can path a native
DLL in the declaration statement.
 

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

Members online

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,817
Latest member
AdalbertoT

Latest Threads

Top