Select to view content in your preferred language

LicenseControl in ArcGIS 10 with Delphi

2594
8
01-19-2011 01:12 AM
AlexandreHirzel
Occasional Contributor
I downloaded the latest Roger Dunn's manual (Working with Delphi and ArcObjects 9.3) and decided to follow the steps, even though I have ArcGIS 10 and Delphi 6. The first steps went very well and I was able to compile the ESRI Controls 10 package.

Problems arose when I tried to add a Map component to my form. I got a message about the LicenseControl not being present. When I tried to add it, I was said it could not be used at design time. This subject is not covered in the document and is obviously a speciality of the new licensing system of ArcGIS 10.

Do you have any advice about how to deal with this LicenseControl?
0 Kudos
8 Replies
Venkata_RaoTammineni
Regular Contributor
I downloaded the latest Roger Dunn's manual (Working with Delphi and ArcObjects 9.3) and decided to follow the steps, even though I have ArcGIS 10 and Delphi 6. The first steps went very well and I was able to compile the ESRI Controls 10 package.

Problems arose when I tried to add a Map component to my form. I got a message about the LicenseControl not being present. When I tried to add it, I was said it could not be used at design time. This subject is not covered in the document and is obviously a speciality of the new licensing system of ArcGIS 10.

Do you have any advice about how to deal with this LicenseControl?


Does ArcEngine Runtime is activated now ?
0 Kudos
AlexandreHirzel
Occasional Contributor
Does ArcEngine Runtime is activated now ?


It is not. But I have an active site license for ArcGIS Desktop 10 running. I used to think that the ArcEngine RunTime was only needed for computer without an ArcGIS Desktop license. Is that not correct?

My impression was that the problem was to how to connect to license server and let ArcObjects know that a license was available.
0 Kudos
Venkata_RaoTammineni
Regular Contributor
It is not. But I have an active site license for ArcGIS Desktop 10 running. I used to think that the ArcEngine RunTime was only needed for computer without an ArcGIS Desktop license. Is that not correct?

My impression was that the problem was to how to connect to license server and let ArcObjects know that a license was available.




your using ArcEngine runtime, even though you have arcgis desktop licence..You need to have ArcGIS Engine runtime licence..SDK lic too..if you want to use mapcontrols...You need to purchase all...you can not connect lic server or something...
0 Kudos
AlexandreHirzel
Occasional Contributor
your using ArcEngine runtime, even though you have arcgis desktop licence..You need to have ArcGIS Engine runtime licence..SDK lic too..if you want to use mapcontrols...You need to purchase all...you can not connect lic server or something...


I have it too. Actually, I am able to use ArcObjects 10 and the map controls within a Java application. But I'm missing Delphi's efficiency and ease at designing user interfaces.
0 Kudos
AlexanderGray
Honored Contributor
Binding the the license for standalone application has changed at ArcGIS 10.

The following link is for .net but part about license initialization should be relevant

http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/How_to_migrate_ArcGIS_9...
0 Kudos
AlanTonkin
Regular Contributor
Hi,

I was wondering if any of you that have posted replies in this thread would be able to help me with a problem that I am having with Delphi & ArcGIS 10.

I have a Delphi project that contains the ArcReaderControl (Active-X). This was to customise my own ArcReader application. Everything was perfect in ArcGIS 9.3.1. When I upgraded to ArcGIS 10, I re-registered the updated Active-X control in Delphi and the component successfully appears under my Active-X component palette. But when I try drop the ArcReaderControl on a form, I get "ClassFactory cannot supply requested class" - WTF!

Does the new license control in 10.0 now stretch to include ArcReader? If it does, then how does one use the calls to the license control at design-time? Surely it cannot be just a runtime component now?

Any help would be greatly appreciated.

Regards,

Alan
0 Kudos
RichardWatson
Deactivated User
In 9.4 ESRI worked on support for multiple installations of the ESRI products.  At some point they gave up on providing this but left part of the implementation in the code.  You can see this in the various registry keys for the classes.  In essence you have to call something bind to version in order for the machine to work.  I suspect it is something like ESRI loads a shim which uses the active version in order to determine which class to actually load.
0 Kudos
KarenGreen
Deactivated User
Alexandre, did you ever get this resolved?  I have the same errror and I can only find posts about the problem and no resolutions.  If you resolved, it can you please post what you did.

Thanks
Karen
0 Kudos