首页 > 代码库 > arcgis_engine_c++_runtime_r6034_error

arcgis_engine_c++_runtime_r6034_error

技术分享

在启动项目中添加app.manifest文件

技术分享
<?xml version="1.0" encoding="utf-8"?><asmv1:assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">  <assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>......  <!-- 启用 Windows 公共控件和对话框的主题(Windows XP 和更高版本) -->  <dependency>    <dependentAssembly>      <assemblyIdentity type="win32" name="Microsoft.vc90.CRT" version="9.0.21022.8" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"/>    </dependentAssembly>  </dependency></asmv1:assembly>
View Code
Error: R6034 Runtime Error! An application has made an attempt to load the C runtime library incorrectly. Please contact the application‘s support team for more information

 An application manifest should be added to the Engine application to ensure the correct msvcr90.dll (required by Python) is loaded. In Visual Studio, Add New Item > Application Manifest File (app.manifest). Add the following XML into the app.manifest:

参考:

http://support.esri.com/technical-article/000013127

 

arcgis_engine_c++_runtime_r6034_error