VARIANT_BOOL vb; esriLicenseStatus licenseStatus = 0; IArcGISVersionPtr ipVersion(__uuidof(VersionManager)); ipVersion->LoadVersion(esriArcGISServer, L"", &vb); IAoInitializePtr ipInit(CLSID_AoInitialize); ipInit->IsProductCodeAvailable(product, &licenseStatus); ipInit->Initialize(product, &licenseStatus);
Not that this is a current thread, but between Umberto Raggiani's #import statement and this response from Michael Rice, I got what I was doing working in a jiff. Thanks guys!
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und vieles mehr. Neu hier? Erstelle ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.