HRESULT:0x8007007E
-
Hi I am using a C lib and its corresponding header file in my C++ class library project. After a lot of linkage errors I could finally build the project. I want to use this C++ dll in a C# application. There is no debug error, but there is a runtime error like this: The specified module could not be found. HRESULT: 0x8007007E Could anyone please help me? Thanks in advance
-
Hi I am using a C lib and its corresponding header file in my C++ class library project. After a lot of linkage errors I could finally build the project. I want to use this C++ dll in a C# application. There is no debug error, but there is a runtime error like this: The specified module could not be found. HRESULT: 0x8007007E Could anyone please help me? Thanks in advance
You probably also need a DLL aside of the lib which either cannot be found or it requires registration but was not registered yet. If you have the DLL, try
regsvr32.exe the.dll
. If there is no DLL, you could try checking around the site you got the lib from if there is one, or you could also try searching for ".dll" inside the lib, maybe you can find the name of it and then you can search for it online.> The problem with computers is that they do what you tell them to do and not what you want them to do. < > Life: great graphics, but the gameplay sux. <
-
Hi I am using a C lib and its corresponding header file in my C++ class library project. After a lot of linkage errors I could finally build the project. I want to use this C++ dll in a C# application. There is no debug error, but there is a runtime error like this: The specified module could not be found. HRESULT: 0x8007007E Could anyone please help me? Thanks in advance
Your Dll might require some other dlls or it's location is not correct.You would better check it's dependencies with Dependencywalker.
Life is a stage and we are all actors!
-
Your Dll might require some other dlls or it's location is not correct.You would better check it's dependencies with Dependencywalker.
Life is a stage and we are all actors!
Thanks. I use dependency walker and I found it. There were 2 dlls missing: msvcr80.dll msvcrd80.dll I copied them in the exe folder and the problem was solved. But I am surprised that once I ran the program, a folder was built in WINDOWS folder and the dlls were copied there. So there is no need to those dlls in the exe folder. I mean I delete the dlls in the exe folder and the program still works fine. Why this happens and what should I do when I want to release the application? Thanks
-
Thanks. I use dependency walker and I found it. There were 2 dlls missing: msvcr80.dll msvcrd80.dll I copied them in the exe folder and the problem was solved. But I am surprised that once I ran the program, a folder was built in WINDOWS folder and the dlls were copied there. So there is no need to those dlls in the exe folder. I mean I delete the dlls in the exe folder and the program still works fine. Why this happens and what should I do when I want to release the application? Thanks
msvcr80.dll and msvcrd80.dll are parts of VC++ 2005 redist.When the redist is installed on the client computer it's being used by all applications ,so into this case you needn't private dlls for your app.But it's not you should bring some parts of it with your app.It's recommended also to create app manifest in order to add support of OS themes. See here[^] for details. :)
Life is a stage and we are all actors!