I am trying to run a certain application but when i get the following error whilel loading a dll:
"Windows API LoadLibraryEx returened error # 14001 ( 0x36B1)..."
I opened windows event viewer and got this error:
Dependent Assembly Microsoft.VC90.DebugMFC could not be found and Last Error was The referenced assembly is not installed on your system.
My question is, what is Microsoft.VC90.DebugMFC ?
Installing Visual studio professional 2008 SP1 solved the problem
Related
enter image description herePC
qt-opensource-windows-x86-msvc2013-5.5.1 and the 64bit version of it
visual studio 2013 ultimate
qt add-in 1.2.4
windows 10 x64bit
problem:
when i create a qt project in vs and try to build it.
1- i get the error Qt5Widgetsd.lib(Qt5Widgetsd.dll) : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'
note: the installed version of qt is the 64bit
2- the libraries and everything qt related isn't recognized in the IDE "uderlined red"
things i did to try and solve this problem
when i change the TARGET MACHINE to MachineX64 (/MACHINE:X64) instead of MachineX86 (/MACHINE:X86) (in project properties>linker>advanced) and the platform still as it was (win32)
vs recognize the qt things/libraries and the underlines goes, however when i build i get this error
Debug\moc_shitstackoverflow.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
when i change platform to x64
i get this error
the following error occurred: there's no qt version assigned to this project for platform x64. please use the "change QT version" feature and choose avalid qt version for this platform
and every thing get underlined again
so on an another failed attempt i uninstalled the 64bit of qt version and installed the 32bit one.
when i tried to build a newly created project in vs (under the 32bit) the project succeeded in building, however everything qt related was underlined red and the IDE don't recognizes it.
note* running vcvarsall.bat through qt cmd didn't change the underlining issue in vs in any of those cases!
so please i need help to this problem.
i tried everything i have found on the internet, but nothing solved the problem
so i wrote this very detailed explanation of what i have gone through the past 48 hours!
thanks in advance
I currently work with OpenCV C++ in Visual Studion 2013 (Community). I have installed the plugin ImageWatch into Visual Studio, which is useful debugging aid.
After a recent upgrade of Windows 10 (I was already was working with Win 10 and it was fine), I started to receive the following error : "exception has been thrown by the target of an invocation" when opening ImageWatch from 'View/Other Windows/Image Watch'
I have tried un-/re-installing ImageWatch and updated VS 2013 to the latest .Net Version (5.0) for 2013. I also, as suggested on other posts, where the same error has been generated for different reasons, shortened the length/removed some of the lengthy less used System Environmental Variables. All to no avail.
Part of the symptoms I received from Win 10 update were some missing .dll messages for MSVCP110.dll and MSVCR110.dll, generated directly after start up (of my PC). A quick search indicated that I was missing some crucial Visual C++ Redistributable x64 and x86 updates for Visual Studio 2012. (see http://answers.microsoft.com/en-us/windows/forum/windows_8-winapps/the-program-cant-start-because-msvcr110dll-is/f052d325-3af9-4ae5-990b-b080799724db)
These can be download here:
https://www.microsoft.com/en-us/download/details.aspx?id=30679#
After installing these updates for x64 and x86 and a reboot, the dll messages disappeared at start. Following a reinstallation of ImageWatch plugin, I no logner recieved the "exception has been thrown by the target of an invocation" and Image Watch was opening and running fine.
I have a COM+ application which builds and run under Microsoft Visual Studio Professional 2005 libraries, which I am trying to port to a newer VS version. So I first tried with a new SDK for Windows, which failed in the registration phase. After, I tried with VS 2010 Express SP1, which also failed in the app registration phase.
While investigating why the app works with VS2005 and not works with VS2010, I discovered that the VS2005 installation has the following libraries (actually if I install only this, the app COM registration works clean), which I did not find as the other one, in the VS2010:
+- Microsoft Visual Studio 2005 Professional Edition
+- Visual C++
+- Visual C++ Run-Time Libraries
+- Visual C++ Static Multi-Threaded CF
So I tried also to get the Visual C++ Static Multi-Threaded CF for VS2010, but no success. I only found several versions of redistributable libraries which did not work.
The error when I try to register the application is the 0xc0150002 ("The application was unable to start correctly (0xc0150002). Clock OK to close the application"). I also looked for this error, but it seemed to be very generic, and no other clues were found.
Does someone know how to solve this? Please!
Update 1
Looking in the Windows Event Viewer / Customs Views / Administrative Events, I found the following error:
Activation context generation failed for
"C:\Users\root\Desktop\OMNI\bin\BLK_ENTRY.dll".Error in manifest or
policy file
"C:\Users\root\Desktop\OMNI\bin\Microsoft.VC80.OpenMP.MANIFEST" on
line 5. Component identity found in manifest does not match the
identity of the component requested. Reference is
Microsoft.VC80.OpenMP,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.762".
Definition is
Microsoft.VC80.OpenMP,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.42".
Please use sxstrace.exe for detailed diagnosis.
Update 2
Looking at the same event log, I found the following error (before trying to install reinstall the libraries)
Activation context generation failed for
"C:\Users\root\Desktop\OMNI\bin\BLK_ENTRY.dll". Dependent Assembly
Microsoft.VC80.OpenMP,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.762"
could not be found. Please use sxstrace.exe for detailed diagnosis.
I've got an 32-bit C++ app, "MyOldApp" built with VS2005. I recently changed my dev PC from a WinXP box to a Win7/64 one. On it I installed VS2005,VS2008,VS2010 and VS2012 (in that order).
Then I found I could not launch "MyOldApp" inside VS2005 in the Debug configuation (Release works fine). Error: Unable to start program. This application has failed to start because the application configuration is correct." Windows event log says: Activation context generation failed for "MyOldApp.exe". Dependent Assembly Microsoft.VC80.DebugCRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.762" could not be found. Please use sxstrace.exe for detailed diagnosis.
I check the manifest and it confirms this dependency.
So I check C:\Windows\winsxs and find this directory: x86_microsoft.vc80.debugcrt_1fc8b3b9a1e18e3b_8.0.50727.42_none_ef74ff32550b5bf0
Then I check VS2005 Help > About, find it at 8.0.50727.42 and realize I never installed SP1 which I must have been using on the XP box. So I set out to update my machine from .42 to .762 but fail. I have tried installing it from here:
Visual C++ 2005 Sp1 Runtime (x86)
and from here:
Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package MFC Update
While installing, I get and agree to the license agreement, then see the "preparing to install" dialog. Then the installer just silently exits, and I am left with version .42 and my original problem.
How do I get SP1 to install? Thanks.
Found this:
Microsoft® Visual Studio® 2005 Team Suite Service Pack 1
and it was kind enough to run to completion. Launched VS2005 and it told me to do another update, which I found here:
Visual Studio 2005 Service Pack 1 Update for Windows Vista
which also ran to completion. VS2005 Help about now shows version .762 and my app can be run in Debug Configuration.
So I have this small application of mine I'm trying to deploy using visual studio. I have Intel parallel studio 2011 added to visual studio, and I'm compiling this program using Intel within VS because I'm using OpenMP task construct which is not supported in VS2010. I added a deployment project to my solution and built a setup. Dependencies are detected as follows:
glu32.dll opengl32.dll and libiomp5md.dll
Now I'm trying to test this setup file to see if it works. I have Windows XP Mode installed and I access the setup file, I setup my application, decencies are copied just fine but:
When I try to run the application first time I got an error saying:
The entry point _ftol2 could not be loacted in the dynamic link library msvcrt.dll
I found solution to this problem by removing glu32.dll and opengl32.dll and adding glut32.dll to my windows/system folder.
But then it comes up with this second error saying:
The application or dll ".....\libiomp5md.dll" is not a valid windows image. please check this against your installation diskette
again I googled and I got this and it didn't work.
Reminder: I'm using Win7 x64 and Visual Studio 2010 with Intel Parallel Studio 2011.
I guess you need to install the redistributable libraries on the target machine.