DLLImport and DOT NET Framework 2.0

  • Thread starter Thread starter nirbhay
  • Start date Start date
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
 
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
 
Back
Top