<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Problem Registering ArcGIS Engine License in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/problem-registering-arcgis-engine-license/m-p/278369#M7177</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That is what is going on.&amp;nbsp; The app is primarily Engine, with a map control, but the original developer was trying to use arc editing functionality - add a street for example - without having arcmap open.&amp;nbsp; I may have to do a major redesign though his user interface with the map control is quite good.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Dec 2011 15:57:44 GMT</pubDate>
    <dc:creator>JeffreyHanson3</dc:creator>
    <dc:date>2011-12-14T15:57:44Z</dc:date>
    <item>
      <title>Problem Registering ArcGIS Engine License</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/problem-registering-arcgis-engine-license/m-p/278365#M7173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;After using RuntimeManager.Bind as&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ESRI.ArcGIS.RuntimeManager.Bind(ESRI.ArcGIS.ProductCode.Engine)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;we try to get the IApplication for ArcGIS Engine with the following code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim t As Type = Type.GetTypeFromProgID("esriFramework.AppRef")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim obj As System.Object = Activator.CreateInstance(t)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim m_pApplication As ESRI.ArcGIS.Framework.IApplication = obj&amp;nbsp;&amp;nbsp; 'New ESRI.ArcGIS.Framework.AppRef&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but we keep getting an exception:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Retrieving the COM class factory for component with CLSID {E1740EC5-9513-11D2-A2DF-0000F8774FB5} failed due to the following error: 80040111 ClassFactory cannot supply requested class (Exception from HRESULT: 0x80040111 (CLASS_E_CLASSNOTAVAILABLE)).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We've upgraded the app from 9.3 to 10.0 and I have used ESRIRegAsm.exe but to no avail.&amp;nbsp; Has anyone else encountered this or have a possible solution?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2011 19:27:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/problem-registering-arcgis-engine-license/m-p/278365#M7173</guid>
      <dc:creator>JeffreyHanson3</dc:creator>
      <dc:date>2011-12-13T19:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Registering ArcGIS Engine License</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/problem-registering-arcgis-engine-license/m-p/278366#M7174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm confused.&amp;nbsp; There is no IApplication for Engine.&amp;nbsp; Only the ArcGIS Desktop applications (ArcMap, ArcCatalog, etc) implement IApplication.&amp;nbsp; What are you trying to do?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2011 20:32:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/problem-registering-arcgis-engine-license/m-p/278366#M7174</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2011-12-13T20:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Registering ArcGIS Engine License</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/problem-registering-arcgis-engine-license/m-p/278367#M7175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Your right.&amp;nbsp; I just inherited this app which I thought was purely Engine so I am new to Engine.&amp;nbsp; Still, I get the COM error when getting the AppRef which should initialize the IApplication interface according to the blogs.&amp;nbsp; There is a runtimemanger.bindlicense in the form startup.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2011 12:50:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/problem-registering-arcgis-engine-license/m-p/278367#M7175</guid>
      <dc:creator>JeffreyHanson3</dc:creator>
      <dc:date>2011-12-14T12:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Registering ArcGIS Engine License</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/problem-registering-arcgis-engine-license/m-p/278368#M7176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm still confused as to what you're trying to do.&amp;nbsp; Getting the AppRef returns a reference to the currently running ArcGIS Desktop application.&amp;nbsp; If your code isn't running inside of an ArcGIS Desktop application then the call will fail.&amp;nbsp; AppRef can't be used outside of ArcMap, ArcCatalog, etc.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2011 12:57:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/problem-registering-arcgis-engine-license/m-p/278368#M7176</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2011-12-14T12:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Registering ArcGIS Engine License</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/problem-registering-arcgis-engine-license/m-p/278369#M7177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That is what is going on.&amp;nbsp; The app is primarily Engine, with a map control, but the original developer was trying to use arc editing functionality - add a street for example - without having arcmap open.&amp;nbsp; I may have to do a major redesign though his user interface with the map control is quite good.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2011 15:57:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/problem-registering-arcgis-engine-license/m-p/278369#M7177</guid>
      <dc:creator>JeffreyHanson3</dc:creator>
      <dc:date>2011-12-14T15:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Registering ArcGIS Engine License</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/problem-registering-arcgis-engine-license/m-p/278370#M7178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You don't need an IApplication reference to edit data nor do you need ArcMap.&amp;nbsp; ArcGIS Engine comes with quite a few built-in tools that you may be able to use.&amp;nbsp; There may also be geoprocessing tools that can help you do what you need to do.&amp;nbsp; Anything else you need can be programmed with ArcObjects.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2011 16:07:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/problem-registering-arcgis-engine-license/m-p/278370#M7178</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2011-12-14T16:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Registering ArcGIS Engine License</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/problem-registering-arcgis-engine-license/m-p/278371#M7179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks.&amp;nbsp; I'm going to have to re-architect some of the code.&amp;nbsp; Some of it also has to do with 9.3 to 10.0 migration.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2011 18:06:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/problem-registering-arcgis-engine-license/m-p/278371#M7179</guid>
      <dc:creator>JeffreyHanson3</dc:creator>
      <dc:date>2011-12-14T18:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Registering ArcGIS Engine License</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/problem-registering-arcgis-engine-license/m-p/278372#M7180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear Neil,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I belive you can help me on following issue:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;all what I need is to Open an ArcScene, create a FileGDB (testGDB.gdb), create a FeatureClass inside of it and add a Polyline to it, add the feature class as a Layer to my ArcScene.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have written following codes :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;::CoInitialize(NULL);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; ArcGISVersionLib::IArcGISVersionPtr ipVer(__uuidof(ArcGISVersionLib::VersionManager));&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; VARIANT_BOOL succeeded;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; if (FAILED(ipVer-&amp;gt;LoadVersion(ArcGISVersionLib::esriArcGISDesktop, L"10.0", &amp;amp;succeeded)))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; return 0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; OLE_HANDLE iphWnd = NULL;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; //Connect to ArcScene&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; IAppROTPtr mpAppROT(CLSID_AppROT);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; IApplicationPtr ipApplication(CLSID_AppRef);&amp;nbsp; //---------&amp;gt; I get here always class is not registered BUT, I ArcScene opens !!!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; ISxDocumentPtr ipSxDoc(CLSID_SxDocument);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IDocumentPtr ipDoc(ipSxDoc);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ipDoc-&amp;gt;get_Parent(&amp;amp;ipApplication);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ipApplication-&amp;gt;put_Visible(VARIANT_TRUE);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; ipApplication-&amp;gt;get_hWnd(&amp;amp;iphWnd);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; IMapPtr ipMap(CLSID_Map);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;then I start creating my FileGDB:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IWorkspaceFactoryPtr ipWkspFct(CLSID_FileGDBWorkspaceFactory);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; IWorkspaceNamePtr ipWkspNam(CLSID_WorkspaceName);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; ipWkspFct-&amp;gt;Create(NULL, gdbName, NULL, NULL, &amp;amp;ipWkspNam);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;up to here, it works properly and the gdb gets created.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IWorkspacePtr ipWksp(CLSID_Workspace);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ipWkspFct-&amp;gt;OpenFromFile(gdbPath, NULL, &amp;amp;ipWksp); //-------&amp;gt; here is the problem ! always NULL for ipWksp.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any Idea !? as I am a new VC++ programmer, please give me some instructions !&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have ArcGIS Desktop 10.0 and VS2008&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you vor any help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nazereh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2012 08:43:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/problem-registering-arcgis-engine-license/m-p/278372#M7180</guid>
      <dc:creator>nazerehnejatbakhsh</dc:creator>
      <dc:date>2012-01-31T08:43:15Z</dc:date>
    </item>
  </channel>
</rss>

