471,595 Members | 1,787 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,595 software developers and data experts.

ASP.Net DLL Reference Search Paths?

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.

Oct 19 '06 #1
1 1611
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.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*************************************************
Think outside of the box!
*************************************************
"Chris Ashley" <ch***********@gmail.comwrote in message
news:11**********************@f16g2000cwb.googlegr oups.com...
>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.

Oct 19 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

16 posts views Thread by Paul S. Natanson | last post: by
1 post views Thread by ritesh.noronha | last post: by
reply views Thread by sonali_reddy123 | last post: by
1 post views Thread by newscorrespondent | last post: by
27 posts views Thread by Terry | last post: by
1 post views Thread by Herman.Schultz | last post: by
1 post views Thread by =?Utf-8?B?bWFya203NQ==?= | last post: by
reply views Thread by Anwar ali | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.