18.04.2015 Views

ArcGIS Engine Developer Guide

ArcGIS Engine Developer Guide

ArcGIS Engine Developer Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

APPLICATION DEVELOPMENT AND LICENSE INITIALIZATION<br />

Step 3: Initialize the application<br />

Step 4: Check extensions in and<br />

out<br />

Step 5: Shutdown<br />

Step 1: Check product license<br />

availability<br />

Step 2: Check extension license<br />

availability<br />

If yes, proceed with checks for any other needed extensions. If not, discontinue<br />

this attempt and restart initialization with any secondary level of allowable<br />

product licensing.<br />

3. Since Spatial extension functionality is also required for this application, check<br />

whether a Spatial extension license is available for the <strong>ArcGIS</strong> <strong>Engine</strong> product<br />

license.<br />

If yes, proceed with checks for any other needed extensions. If not, discontinue<br />

this attempt and restart initialization with any secondary level of allowable<br />

product licensing.<br />

4. In this case, no other extension licenses are needed. Proceed to the next step<br />

in the initialization process.<br />

5. Check out the <strong>ArcGIS</strong> <strong>Engine</strong> product license by initializing the application.<br />

If the license checked out, proceed to the next step in the initialization<br />

process. If the license failed to check out, discontinue this attempt and<br />

restart initialization with any secondary level of allowable product licensing.<br />

6. Check out the 3D extension for the <strong>ArcGIS</strong> <strong>Engine</strong> product license. If the<br />

license checked out, proceed with checkout for any other needed extensions.<br />

If the license failed to check out, discontinue this attempt and restart initialization<br />

with any secondary level of allowable product licensing.<br />

7. Check out the Spatial extension for the <strong>ArcGIS</strong> <strong>Engine</strong> product license. If the<br />

license checked out, proceed with checkout for any other needed extensions.<br />

If the license failed to check out, discontinue this attempt and restart initialization<br />

with any secondary level of allowable product licensing.<br />

8. In this case, no other extension licenses are needed. If the extension licenses<br />

are checked out, the application has been successfully configured with licenses.<br />

9. The final step in the initialization process is ensuring that the licenses are<br />

released when the application is shut down.<br />

Attempting initialization with the ArcView product license<br />

In this example, a secondary level of licensing is available if the first <strong>ArcGIS</strong><br />

<strong>Engine</strong> product level fails to initialize correctly. The application once again attempts<br />

to initialize by following the defined process.<br />

1. Check whether an ArcView product license is available. If yes, proceed to the<br />

next step in the initialization process. If not, discontinue this attempt and<br />

restart initialization with any tertiary level of allowable product licensing.<br />

2. Determine whether a 3D Analyst extension license is available with the<br />

ArcView product license. If yes, proceed with checks for any other needed<br />

extensions. If not, discontinue this attempt and restart initialization with<br />

any tertiary level of allowable product licensing.<br />

3. Check whether an <strong>ArcGIS</strong> Spatial Analyst extension license is available with<br />

the ArcView product license. If yes, since no other extensions are needed,<br />

proceed to the next step in the initialization process. If not, discontinue this<br />

attempt and restart initialization with any tertiary level of allowable product<br />

licensing.<br />

266 • <strong>ArcGIS</strong> <strong>Engine</strong> <strong>Developer</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!