thorand

ArcGIS 10, Delphi and licensing

Discussion created by thorand on Mar 18, 2011
Latest reply on Nov 3, 2011 by nashev
Hello developer,

we have an standalone application, written in Delphi, which must get a ArcView or a ArcEditor-Licence, to write data in a Geodatabase over COM and ArcObjects.

A license for ArcView exist on the pc

With ArcGIS 9.3.1 we have had no problems to check the active license with

isProductCodeAvailable

and then we initialize the specific product.

But with ArcGIS 10 we always get "0" as return-value (which is not defined by any constant of esriLicenseStatus) for the function isProductCodeAvailable.

I think, we have to bind our Delphi-ComObjects to ArcGIS 10?
But how we can do so, because in our generated .pas Files from the COM-Dll's we find no function for this!

Pehaps there is a developer, who uses Delphi 6 or 7 and can give us a hint for the initial steps to get a licensed ArcObject Connection?

Thanks a lot for any hint,

Marcus

Outcomes