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!
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);
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.