views:

35

answers:

1

I'm currently debugging a Java application which uses the ESRI ArcObjects library. As the ArcObjects themselves are COM-classes and interfaces an integrated COM-bridge is used, which seems to be a stripped-down version of JIntegra.

It occurred to me, that the initialization of the ArcObjects library creates some system properties but I can't find any documentation on these (Google, EDN, Forums). Can someone please explain the system properties and their us or point me to a documentation site where I can read their definition myself?

After initializing the ArcObjects using

EngineInitializer.initializeVisualBeans();
AoInitialize ao = new AoInitialize();
esriLicenseStatus licenseStatus = ao.initialize(esriLicenseProductCode.esriLicenseProductCodeEngine);

the following new system properties are set (I have omitted unchanged system properties):

ARCGIS_CREATE_OCX_AT_ONCE=
ARCGIS_COINIT_VALUE=0
ARCGIS_PREFERRED_SIZE_com.esri.arcgis.controls.ToolbarControl=900,25
ARCGIS_REUSE_OCX_STA=
ARCGIS_IUNKNOWN_VARIANT_OBJECTS=
ARCGIS_NATIVE_MODE=

Thanks in advance.

A: 

If you are paying the sometimes exorbitant ESRI licensing fees, I'd recommend giving ESRI a phone call. However do these properties cause problems with the application?

If the parameters are blank, then I'd imagine they wouldn't have any effects. What values did they change from?

As for the others:

ARCGIS_PREFERRED_SIZE_com.esri.arcgis.controls.ToolbarControl=900,25

http://edndoc.esri.com/arcobjects/9.2/Java/api/arcobjects/com/esri/arcgis/controls/ToolbarControl.html

ARCGIS_NATIVE_MODE=

(default is true)

Native mode means the JVM will load ArcObjects in-process. The default value of true should not be changed for ArcGIS Engine applications.

http://edndoc.esri.com/arcobjects/9.1/java/arcengine/com/esri/arcgis/system/EngineInitializer.html

geographika