<?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: COMException(0x8004001F3): Problem in loading application in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/comexception-0x8004001f3-problem-in-loading-application/m-p/4784447#M12732</link>
    <description>&lt;P&gt;You could register&amp;nbsp;your server&amp;nbsp;by adding the needed registry values directly, but the error does not look to me&amp;nbsp;like a registration issue. I&amp;nbsp;think it's likely that&amp;nbsp;the problem is due to a missing&amp;nbsp;(at least, not in the Windows search path) dependent DLL&amp;nbsp;or one with the wrong architecture.&lt;/P&gt;</description>
    <pubDate>Thu, 30 Jan 2014 14:57:35 GMT</pubDate>
    <dc:creator>owenwengerd</dc:creator>
    <dc:date>2014-01-30T14:57:35Z</dc:date>
    <item>
      <title>COMException(0x8004001F3): Problem in loading application</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/comexception-0x8004001f3-problem-in-loading-application/m-p/4784011#M12731</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm recompiling for AutoCAD 2013/2014 a solution that works fine with AutoCAD 2012, composed of some ARX projects, one DBX project and one c#.NET project.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The c#.NET project implements an UI and contains a COM wrapper client that requires to "connect" to a ObjectARX project that is the COM wrapper server.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;That ARX project contains a rgs file like this:&lt;/P&gt;&lt;P&gt;HKCR&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp;ArxName.AppComWr.2 = s 'AppComWrp Class'&lt;BR /&gt;&amp;nbsp; &amp;nbsp;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; CLSID = s '{7888DE6F-6301-481c-9C97-1F34F018BE22}'&lt;BR /&gt;&amp;nbsp; &amp;nbsp;}&lt;BR /&gt;&amp;nbsp; &amp;nbsp;ArxName.AppComWrp = s 'AppComWrp Class'&lt;BR /&gt;&amp;nbsp; &amp;nbsp;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; CLSID = s '{7888DE6F-6301-481c-9C97-1F34F018BE22}'&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; CurVer = s 'ArxName.AppComWr.2'&lt;BR /&gt;&amp;nbsp; &amp;nbsp;}&lt;BR /&gt;&amp;nbsp; &amp;nbsp;NoRemove CLSID&lt;BR /&gt;&amp;nbsp; &amp;nbsp;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ForceRemove {7888DE6F-6301-481c-9C97-1F34F018BE22} = s 'AppComWrp Class'&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ProgID = s 'ArxName.AppComWr.2'&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;VersionIndependentProgID = s 'ArxName.AppComWrp'&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ForceRemove 'Programmable'&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;InprocServer32 = s '%MODULE%'&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; val ThreadingModel = s 'Apartment'&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;val AppID = s '%APPID%'&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'TypeLib' = s '{51526A5B-9E7F-41C6-A7EB-879F72721236}'&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;BR /&gt;&amp;nbsp; &amp;nbsp;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All compiles ok and can be loaded in AutoCAD. To do so I follow this steps:&lt;BR /&gt;1. compiled all the ARX projects and the DBX project.&lt;BR /&gt;2. I used "tlbimp ArxName.tlb /machine:64 /keyfile:NetName.snk /reference:Autodesk.AutoCAD.Interop.Common.Dll" to create the ArxNameLib.dll&lt;BR /&gt;3. I used "tlbimp DbxName.tlb /machine:64 /keyfile:NetName.snk /reference:Autodesk.AutoCAD.Interop.Common.Dll" to create the DbxNameLib.dll&lt;BR /&gt;4. used the two generated interop files in the NET project (like references), compiled it and generated the NetName.dll&lt;BR /&gt;5. registered the NetName.dll with: RegAsm.exe NetName.dll /codebase&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The c#.NET project tries to initialize COM wrapper client with:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IAcadApplication iAcadApp =disp as IAcadApplication;&lt;BR /&gt;object cawrp =iAcadApp.GetInterfaceObject(_appComWrpProgId);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;where _appComWrpProgId = "ArxName.AppComWr.2", a string that represents the ProgID of the COM wrapper server defined in rsg file described above.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The problem is that GetInterfaceObject generate the exception:&lt;/P&gt;&lt;P&gt;System.Runtme.InteropServices.COMException(0x8004001F3): Problem in loading application&lt;/P&gt;&lt;P&gt;It seems that the COM server isn't registered but I don't know what is the correct procedure to register it (and I didn't find clear information about it on the web).&lt;BR /&gt;I tried to use C:\Windows\SysWOW64\regsvr32.exe to register the ArxName.arx, but it returns error "Can't find specified module" (translated from italian).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;All suggestions are welcomed.&lt;BR /&gt;Thank you.&lt;BR /&gt;Regards,&lt;BR /&gt;Tiziano&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2014 10:44:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/comexception-0x8004001f3-problem-in-loading-application/m-p/4784011#M12731</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-30T10:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: COMException(0x8004001F3): Problem in loading application</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/comexception-0x8004001f3-problem-in-loading-application/m-p/4784447#M12732</link>
      <description>&lt;P&gt;You could register&amp;nbsp;your server&amp;nbsp;by adding the needed registry values directly, but the error does not look to me&amp;nbsp;like a registration issue. I&amp;nbsp;think it's likely that&amp;nbsp;the problem is due to a missing&amp;nbsp;(at least, not in the Windows search path) dependent DLL&amp;nbsp;or one with the wrong architecture.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2014 14:57:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/comexception-0x8004001f3-problem-in-loading-application/m-p/4784447#M12732</guid>
      <dc:creator>owenwengerd</dc:creator>
      <dc:date>2014-01-30T14:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: COMException(0x8004001F3): Problem in loading application</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/comexception-0x8004001f3-problem-in-loading-application/m-p/4784829#M12733</link>
      <description>&lt;P&gt;Hi Owen,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I'm compiling at 64bit and I observed with Dependency Walker that Autodesk.AutoCAD.Interop.Common.dll and Autodesk.AutoCAD.Interop.dll are both 86bit dll also if taken from ObjectARX 2014\inc-x64. Can it be a problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you and best regards&lt;BR /&gt;Tiziano De Gottardo&lt;/P&gt;&lt;P&gt;Virtualgeo srl&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2014 16:48:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/comexception-0x8004001f3-problem-in-loading-application/m-p/4784829#M12733</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-30T16:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: COMException(0x8004001F3): Problem in loading application</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/comexception-0x8004001f3-problem-in-loading-application/m-p/4785047#M12734</link>
      <description>&lt;P&gt;Assuming you're testing on a properly installed 64-bit AutoCAD, I don't think you need to worry about the AutoCAD managed assemblies at runtime, although I'm curious&amp;nbsp;what lead you to conclude&amp;nbsp;that the assemblies in the inc-x64 folder are "86bit" (I guess you meant "x86").&amp;nbsp;In any case, a tool like Process Monitor&amp;nbsp;may help pinpoint the&amp;nbsp;reason for&amp;nbsp;the failure.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2014 18:16:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/comexception-0x8004001f3-problem-in-loading-application/m-p/4785047#M12734</guid>
      <dc:creator>owenwengerd</dc:creator>
      <dc:date>2014-01-30T18:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: COMException(0x8004001F3): Problem in loading application</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/comexception-0x8004001f3-problem-in-loading-application/m-p/4786353#M12735</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you Owen for your help. Sorry for the inattention, you guess correctly, I meant 32 bit (x86). I will take a look with Process Monitor to fix error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tiziano De Gottardo&lt;/P&gt;&lt;P&gt;Virtualgeo srl&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2014 07:40:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/comexception-0x8004001f3-problem-in-loading-application/m-p/4786353#M12735</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-31T07:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: COMException(0x8004001F3): Problem in loading application</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/comexception-0x8004001f3-problem-in-loading-application/m-p/4791411#M12736</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I solved the problem, the COM registration was not complete; adding it &amp;nbsp;by hand the software works correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tiziano De Gottardo&lt;/P&gt;&lt;P&gt;Virtualgeo srl&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2014 17:33:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/comexception-0x8004001f3-problem-in-loading-application/m-p/4791411#M12736</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-03T17:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: COMException(0x8004001F3): Problem in loading application</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/comexception-0x8004001f3-problem-in-loading-application/m-p/11990565#M12737</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Can you be more elaborate on how you solved this problem&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2023 06:31:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/comexception-0x8004001f3-problem-in-loading-application/m-p/11990565#M12737</guid>
      <dc:creator>richard_nzimiro</dc:creator>
      <dc:date>2023-05-26T06:31:18Z</dc:date>
    </item>
  </channel>
</rss>

