• Arcgis Engine 64位系统兼容性问题


    近日将系统升级成了Win7 64位,并顺利安装了arcgis desktop,engine,server和visual studio 2008等软件。但是当调试Arcgis Engine项目时,却提示“创建窗体时出错”。

    Arcgis <wbr>Engine <wbr>64位系统兼容性问题

    原来是Arcgis Engine不支持64位系统造成的,解决的方法为在配置管理器中选择或者新建“x86”作为“活动解决方案平台”。


    Arcgis <wbr>Engine <wbr>64位系统兼容性问题


     

    附上esri官方提到的具体问题解释和处理方法

     

    http://resources.arcgis.com/zh-cn/content/kbase?fa=articleShow&d=33000

     

    Error: Class not registered(Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)

    Article ID: 33000
    Software  : ArcGIS Engine Runtime 9.2, 9.3, 9.3.1
    Platforms : Windows 2000, XP, Vista

    Error Message

    Running an application from Visual Studio 2005 or 2008 on 64-bit computers, displays the following error message:

    "Error : Class not registered(Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)"

    Cause

    When running a Visual Studio application, the default Common Language Runtime (CLR) platform in the Visual Studio is set to Any CPU. This default must be changed on 64-bit computers to compile the assemblies with the 32-bit, x86 compatible CLR.

    Solution or Workaround

    Change the default Platform Target CPU to allow applications to run on 64-bit machines.

    If working in Microsoft Visual Studio:
    1. Right-click on the solution in the Visual Studio Solution Explorer and open the Properties window.
    2. Click the compile tab: Visual Basic, or the build tab: Visual C#.
    3. For Visual Basic, click the Advanced tab.
    4. Select x86 as the Target CPU (Visual Basic) or Platform Target (Visual C#).
    5. Rebuild the solution.

    If working in Microsoft Visual Basic or Visual C# Express Editions:
    1. Open the solution in the Express Edition.
    2. File > Save All, and save the project to a different location.
    3. Using Windows Explorer, browse to the newly saved project, and open the project file (.csproj or .vbproj) with a text editor.
    4. Insert the text <PlatformTarget>x86</PlatformTarget> into the 'Debug|AnyCPU' and 'Release|AnyCPU' sections.
    5. Save the project file.
    6. Open the solution in the Express Edition, and build and run the application.

    Created: 5/4/2007
    Last Modified: 6/17/2010

  • 相关阅读:
    Java虚拟机JVM学习01 流程概述
    Java虚拟机JVM学习02 类的加载概述
    Java虚拟机JVM学习03 连接过程:验证、准备、解析
    Java虚拟机JVM学习04 类的初始化
    代码块(1)
    AtomicInteger
    简单的爬信息
    String.valueOf(null) 报空指针
    图片预览上传
    护城河
  • 原文地址:https://www.cnblogs.com/curtful/p/2393478.html
Copyright © 2020-2023  润新知