Problem:  C++ Runtime Library; Runtime Error! R6034; An application has made an attempt to load the C runtime library incorrectly

相关信息
Article ID: 42409
Bug Id: N/A
Software:
ArcGIS Engine for Windows 10.1
Platforms:
Windows XP, Server 2003, Vista, Server 2008, Windows 7, Windows 8

问题描述
Running an ArcGIS Engine application that uses the 'IRotationRenderer' interface to display data on a machine with an Intel HD Graphics 4000 or Intel Graphics Media Accelerator graphics card displays the following generic error:

"Microsoft Visual C++ runtime library error; R6034. An Application has made an attempt to load the C runtime library."


The IRotationRenderer Interface provides access to members that control the drawing of rotated marker symbols based on field values, and is used by ArcMap to assign symbol rotation.


原因
This error is caused by third-party software, and not by ArcGIS Engine or ArcObjects code.

iCLS (Intel Capability Licensing Service) Client, installed as part of the Intel graphic card drivers suite, adds itself into the process of the engine executable and links against a different version of the C runtime file.

When the engine application is executed, iCLS Client accesses its own copy of the system file, 'msvcr90.dll'. This system file does not match the C++ runtime version in the system location in the WinSXS folder. The file mismatch triggers the runtime error message.
已邀请:

EsriSupport

赞同来自:

解决方案
Contact the vendor (Intel) to request a fix for the runtime issue.




    其它相关参考
    1. Microsoft Developer Network: C++ Runtime Library Error R6034
    2. Esri Web Help: IRotationRenderer
    3. Esri Web Help - What resources are available for troubleshooting Microsoft Windows problems


    创建及修改时间
    Created: 4/11/2014

    Last Modified: 5/19/2014
    原文链接
    http://support.esri.com/en/kno ... 42409

    要回复问题请先登录注册