ArcObjects: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
No edit summary
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
ArcObjects® is a development platform provided by [http://www.esri.com/ 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.
{{GMS Deprecated Feature}}
ArcObjects® is a development platform provided by [http://www.esri.com/ 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.
 
ArcObjects® are enabled by using the ''Data'' | '''Enable ArcObjects®''' command in the GIS module. A few of the typical processes used in XMS must be done differently when ArcObjects® are enabled, such as importing shapefiles using the '''Add Data''' command instead of using the '''Open''' or '''Add Shapefile Data''' commands. 
 
ArcObjects® will not work in the 64-bit versions of SMS, GMS, and WMS.


==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>
:"ArcObjects could not be enabled: please check installation and licensing for ArcGIS"
 
To fix this, register the DLL manually by following the steps below.
To fix this, register the DLL manually by following the steps below.


# Bring up a command prompt window.
# Bring up a command prompt window.
# Type in 'regsvr32 "<directory where XMS was installed>\EMRL_LicCheckMod.dll"<blockquote>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"</blockquote>
# 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"
# Hit enter to run.
# Hit enter to run.
# Restart XMS
# Restart XMS
Line 24: Line 31:
[[Category:General Information|A]]
[[Category:General Information|A]]
[[Category:External Links]]
[[Category:External Links]]
{{stub}}

Latest revision as of 23:07, 3 October 2018

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.

ArcObjects® are enabled by using the Data | Enable ArcObjects® command in the GIS module. A few of the typical processes used in XMS must be done differently when ArcObjects® are enabled, such as importing shapefiles using the Add Data command instead of using the Open or Add Shapefile Data commands.

ArcObjects® will not work in the 64-bit versions of SMS, GMS, and WMS.

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