r6034 an application has attempt to load the c runtion library incorrectly
2015-03-06 13:32
447 查看
So... How to find the problem in similar situations?
Download Process Explorer here.
Start your application and reproduce runtime error R6034.
Start Process Explorer. In the "View" menu go to "Lower Pane View" and choose "DLLs".
In the top pane, locate your application and click on it. The bottom pane should show a list of DLLS loaded for your application.
Locate "msvcr??.dll" in the list. There should be several. Look for the one that is not in the "winsxs" folder, and make a note of it.
Now, check the path just before your application runs. If it includes the folder you noted in step 5, you've probably found the culprit.
How to fix the problem? You'll have to remove the offending entry from the path before running your program. In my case, I don't need anything else in the path, so I wrote a simple batch file that looks like this:
That's it. The batch file simply clears the path before my program runs, so that the conflicting runtime DLL is not found.
Hope this helps!
//ref:http://stackoverflow.com/questions/14552348/runtime-error-r6034-in-embedded-python-application
Download Process Explorer here.
Start your application and reproduce runtime error R6034.
Start Process Explorer. In the "View" menu go to "Lower Pane View" and choose "DLLs".
In the top pane, locate your application and click on it. The bottom pane should show a list of DLLS loaded for your application.
Locate "msvcr??.dll" in the list. There should be several. Look for the one that is not in the "winsxs" folder, and make a note of it.
Now, check the path just before your application runs. If it includes the folder you noted in step 5, you've probably found the culprit.
How to fix the problem? You'll have to remove the offending entry from the path before running your program. In my case, I don't need anything else in the path, so I wrote a simple batch file that looks like this:
path= myprogram.exe
That's it. The batch file simply clears the path before my program runs, so that the conflicting runtime DLL is not found.
Hope this helps!
//ref:http://stackoverflow.com/questions/14552348/runtime-error-r6034-in-embedded-python-application
相关文章推荐
- 无法注册 msvcr80.dll:An application has made an attempt to load the C runtime library incorrectly
- An application has made an attempt to load the C runtime library incorrectly.
- eclipse怎么解决Failed to load the JNIshared library、an error has occurred.see the log file
- .....an attempt to load the C runtime library without using a manifest.....
- The call to LoadLibrary(YourExtensionName) failed, Win32 error 0n14001, “This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.”
- 程序运行程序是出现的this application has requested the runtime to terminate it in an unusual way. 异常分析
- 在windows直接运行Qt编译出来的可执行程序出现了如下提示错误: this application has requested the runtime to terminate it an unu
- 在windows直接运行Qt编译出来的可执行程序出现了如下提示错误: this application has requested the runtime to terminate it an unu
- This application has requested the Runtime to terminate it in an unusual way
- The certificate used to sign ***has either expired or has been revoked. An updated certificate is required to sign and install the application
- This application has requested the Runtime to terminate it in an unusual way
- 关于C++程序运行程序是出现的this application has requested the runtime to terminate it in an unusual way. 异常分析
- This application has request the Runtime to terminate it in an unusual way.
- win8安装 Matlab,运行出现 this application has requested the runtime to terminate it in an unusual way
- this application has requested the runtime to terminate it in an unusual way
- This application has requested the Runtime to terminate it in an unusual way.
- This application has requested the Runtime to terminate it in an unusual way.
- win8安装 Matlab,运行出现 this application has requested the runtime to terminate it in an unusual way .
- This application has requested the Runtime to terminate it in an unusual way
- 关于C++程序运行程序是出现的this application has requested the runtime to terminate it in an unusual way. 异常分析