unable to load dll in c# windows applcation
-
Hello everyone, I have face problem is "Unable to load DLL 'some.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) ", when trying to load the dll file into a windows application. I developed a windows application in VS2005 and want to import a dll file from another program into my project and use it.for that i have just add that dll to the solution explorer. But when I try to call one of the function in the dll file, I got the error message "Unable to load dll 'some.dll". I put the "some.dll" file in the debug folder.Can anyone help me out with this? thanks and really appreciated!
-
Hello everyone, I have face problem is "Unable to load DLL 'some.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) ", when trying to load the dll file into a windows application. I developed a windows application in VS2005 and want to import a dll file from another program into my project and use it.for that i have just add that dll to the solution explorer. But when I try to call one of the function in the dll file, I got the error message "Unable to load dll 'some.dll". I put the "some.dll" file in the debug folder.Can anyone help me out with this? thanks and really appreciated!
I know that not all .dll can be loaded by VC#;
-
Hello everyone, I have face problem is "Unable to load DLL 'some.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) ", when trying to load the dll file into a windows application. I developed a windows application in VS2005 and want to import a dll file from another program into my project and use it.for that i have just add that dll to the solution explorer. But when I try to call one of the function in the dll file, I got the error message "Unable to load dll 'some.dll". I put the "some.dll" file in the debug folder.Can anyone help me out with this? thanks and really appreciated!
obalesu wrote:
I put the "some.dll" file in the debug folder.
What debug folder? Try putting it in the same folder as the .exe file using the dll is in.
Mark Salsbery Microsoft MVP - Visual C++ :java: