ArcObjects: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
No edit summary
Line 3: Line 3:
==Error Enabling ArcObjects==
==Error Enabling ArcObjects==
If the DLL "EMRL_LicCheckMod.dll" fails to register automatically, selecting the '''Enable ArcObjects''' command will bring up the error:  
If the DLL "EMRL_LicCheckMod.dll" fails to register automatically, selecting the '''Enable ArcObjects''' command will bring up the error:  
<blockquote>"ArcObjects could not be enabled: please check installation and licensing for ArcGIS"</blockquote>  
<blockquote style="margin-top:0px; margin-bottom:0px;">"ArcObjects could not be enabled: please check installation and licensing for ArcGIS"</blockquote>  
To fix this, register the DLL manually by following the steps below.
To fix this, register the DLL manually by following the steps below.



Revision as of 15:37, 28 April 2016

ArcObjects® is a development platform provided by ESRI® that allows developers of other applications to incorporate ArcGIS/ArcView® capability directly within their application. ArcObjects® is used to incorporate ArcGIS® functionalities into XMS software. This allows using ArcGIS/ArcMap/ArcView® functionality within XMS software. In order to use ArcGIS® functionality, a current license of ArcGIS® must be installed. Without a license, much of the same functionality is available, the primary differences being that only the shapefile format is supported, and many of the selection and display capabilities are minimal.

Error Enabling ArcObjects

If the DLL "EMRL_LicCheckMod.dll" fails to register automatically, selecting the Enable ArcObjects command will bring up the error:

"ArcObjects could not be enabled: please check installation and licensing for ArcGIS"

To fix this, register the DLL manually by following the steps below.

  1. Bring up a command prompt window.
  2. Type in 'regsvr32 "<directory where XMS was installed>\EMRL_LicCheckMod.dll"

    For example, the default location for GMS 7.0 is "C:\Program Files\GMS 7.0". If the program was installed in the default location, for example, this line in the command prompt window will be: regsvr32 "C:\Program Files\GMS 7.0\EMRL_LicCheckMod.dll"

  3. Hit enter to run.
  4. Restart XMS

Related Topics