ArcObjects

From XMS Wiki
Jump to navigationJump to search

ArcObjects® is a development platform provided by ESRI® that allows developers of other applications to incorporate ArcView/ArcGIS® capability directly within their application. ArcObjects® is used to incorporate ArcGIS® functionalities into XMS software. This allows users to use ArcView/ArcGIS/ArcMap® 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