DLLImport and DOT NET Framework 2.0

N

nirbhay

Hello All
I am experiencing a problem calling one of my un-managed C++ DLL from a
Web page
This was working fine in Visual Studio 2003 version but gives following
error in Visual Studio 2005
Unable to load DLL 'xxxx.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)

I am calling my DLL from the web page using DLLImport.
I read in other posts something related to dependency.
When i look at the dependency for this it showed system32\Kernel32.dll
and system32\OLeAUTO32.dll
I am calling my DLL from the web page using DLLImport.
Do i have to reference these system DLLs in my Web Project to make
DLLImport call work again ??


Appreciate any help
Cheers
 
N

nirbhay

Hello All

This seems to have fixed after i included the location of DLL file in
the Environment PATH variable.
Its atleast better than having to copy the DLL into system folder as
some posts suggested :(

Cheers
 

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