Hi!
I was using VS2003 to develope a Web Application and i was using a
[DllImport] with my own custom unmanaged Code. It was working fine.
When I migrate from VS2003 to VS2005, It was not working and also i
read that i should change some registry value like below..
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework]
"MDA"="0"
After changing when i use [DllImport] in VS2005 i get the following
error
-------------
An unhandled exception of type 'System.DllNotFoundException' occurred
in myTest.exe
Additional information: Unable to load DLL 'ABCD.dll': The specified
module could not be found. (Exception from HRESULT: 0x8007007E)
---------
I use the following code to import the Dll
[DllImport ("c://temp//ABCD.dll", CharSet=CharSet.Unicode)]
I have also pasted the ABCD.dll in the "c:/temp" location.
Please can some help me to solve this issue.
Thanks in Advance.
- Prakash Krishnan
Willy Denoyette [MVP] - 26 Dec 2005 11:15 GMT
> Hi!
>
[quoted text clipped - 28 lines]
>
> - Prakash Krishnan
[DllImport ("c://temp//ABCD.dll", CharSet=CharSet.Unicode)]
should be:
[DllImport ("c:\\temp\\ABCD.dll", CharSet=CharSet.Unicode)]
Prakash - 26 Dec 2005 13:18 GMT
Hi!
Thanks for your response. I tried as you specified(c:\\temp\\)... but
still getting the same error...
Anything else i shud try?
Thanks,
Prakash
--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com
Willy Denoyette [MVP] - 26 Dec 2005 14:47 GMT
> Hi!
>
[quoted text clipped - 9 lines]
> Sent via .NET Newsgroups
> http://www.dotnetnewsgroups.com
What other dll's is ABDC depending of? What tool is there used to build the
dll, what version?
Willy.
Prakash - 26 Dec 2005 15:13 GMT
ABCD.dll is an individual file and that is developed using Corland C++
builder ver5.0
pls. Let me know if you need any more info.
Thanks,
prakash
--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com
Prakash - 27 Dec 2005 13:34 GMT
Hi!
Thanks for your effort & Response.
Sorry.. There was some Dependency Files missing in the ABCD.Dll..
Once again thanks for your info.
Thanks & Regds,
Prakash
--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com