<?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: Unable to register ATL objects in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/unable-to-register-atl-objects/m-p/320503#M35796</link>
    <description>&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;I have no specific suggestion, but have you tried &lt;BR /&gt;
monitoring registry access during the registration process using regmon (&lt;A&gt;&lt;BR /&gt;
href="http://www.sysinternals.com"&amp;gt;www.sysinternals.com&lt;/A&gt;). This should show &lt;BR /&gt;
you where the failure is happening.&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;BR /&gt;Cheers,&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;Stephen Preston&lt;BR /&gt;Developer Technical Services&lt;BR /&gt;Autodesk&lt;BR /&gt;&lt;A&gt;&lt;BR /&gt;
href="http://adn.autodesk.com"&amp;gt;http://adn.autodesk.com&lt;/A&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;&lt;BR /&gt;
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"&amp;gt;&lt;BR /&gt;
  &lt;DIV&gt;"ggr" &amp;lt;&lt;A href="mailto:ggr@nedgraphics.nl"&gt;ggr@nedgraphics.nl&lt;/A&gt;&amp;gt; &lt;BR /&gt;
  wrote in message &lt;A&gt;&lt;BR /&gt;
  href="news:f169d43.-1@WebX.maYIadrTaRb"&amp;gt;news:f169d43.-1@WebX.maYIadrTaRb&lt;/A&gt;...&lt;/DIV&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I &lt;BR /&gt;
  have a Acad2002 ATL application wich has run without problems until I &lt;BR /&gt;
  installed Acad2004.&lt;BR /&gt;From that point on it can't register its ATL objects, &lt;BR /&gt;
  even if I use a version wich I created before installing &lt;BR /&gt;
  Acad2004.&lt;BR /&gt;&lt;BR /&gt;FAILED(_Module.RegisterServer(TRUE)) == true&lt;BR /&gt;&lt;BR /&gt;I created &lt;BR /&gt;
  for the Acad2004 version of my app new guid's and renamed the library to &lt;BR /&gt;
  version 2, so there are no conflicts as far as I can see.&lt;BR /&gt;Also I removed &lt;BR /&gt;
  all the application entries from the registry but still it will not register &lt;BR /&gt;
  my objects, also on machines on wich no .net compiler is &lt;BR /&gt;
  installed.&lt;BR /&gt;&lt;BR /&gt;Does anyone know what can cause this problem?, &lt;BR /&gt;
  thanks&lt;BR /&gt;&lt;BR /&gt;Gertwin Groen&lt;/BLOCKQUOTE&gt;</description>
    <pubDate>Tue, 03 Jun 2003 09:45:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2003-06-03T09:45:10Z</dc:date>
    <item>
      <title>Unable to register ATL objects</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/unable-to-register-atl-objects/m-p/320502#M35795</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;
I have a Acad2002 ATL application wich has run without problems until I installed Acad2004.&lt;BR /&gt;&lt;BR /&gt;
From that point on it can't register its ATL objects, even if I use a version wich I created before installing Acad2004.&lt;BR /&gt;&lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;
FAILED(_Module.RegisterServer(TRUE)) == true&lt;BR /&gt;&lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;
I created for the Acad2004 version of my app new guid's and renamed the library to version 2, so there are no conflicts as far as I can see.&lt;BR /&gt;&lt;BR /&gt;
Also I removed all the application entries from the registry but still it will not register my objects, also on machines on wich no .net compiler is installed.&lt;BR /&gt;&lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;
Does anyone know what can cause this problem?, thanks&lt;BR /&gt;&lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;
Gertwin Groen</description>
      <pubDate>Tue, 03 Jun 2003 06:59:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/unable-to-register-atl-objects/m-p/320502#M35795</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-06-03T06:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to register ATL objects</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/unable-to-register-atl-objects/m-p/320503#M35796</link>
      <description>&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;I have no specific suggestion, but have you tried &lt;BR /&gt;
monitoring registry access during the registration process using regmon (&lt;A&gt;&lt;BR /&gt;
href="http://www.sysinternals.com"&amp;gt;www.sysinternals.com&lt;/A&gt;). This should show &lt;BR /&gt;
you where the failure is happening.&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;BR /&gt;Cheers,&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;Stephen Preston&lt;BR /&gt;Developer Technical Services&lt;BR /&gt;Autodesk&lt;BR /&gt;&lt;A&gt;&lt;BR /&gt;
href="http://adn.autodesk.com"&amp;gt;http://adn.autodesk.com&lt;/A&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;&lt;BR /&gt;
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"&amp;gt;&lt;BR /&gt;
  &lt;DIV&gt;"ggr" &amp;lt;&lt;A href="mailto:ggr@nedgraphics.nl"&gt;ggr@nedgraphics.nl&lt;/A&gt;&amp;gt; &lt;BR /&gt;
  wrote in message &lt;A&gt;&lt;BR /&gt;
  href="news:f169d43.-1@WebX.maYIadrTaRb"&amp;gt;news:f169d43.-1@WebX.maYIadrTaRb&lt;/A&gt;...&lt;/DIV&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I &lt;BR /&gt;
  have a Acad2002 ATL application wich has run without problems until I &lt;BR /&gt;
  installed Acad2004.&lt;BR /&gt;From that point on it can't register its ATL objects, &lt;BR /&gt;
  even if I use a version wich I created before installing &lt;BR /&gt;
  Acad2004.&lt;BR /&gt;&lt;BR /&gt;FAILED(_Module.RegisterServer(TRUE)) == true&lt;BR /&gt;&lt;BR /&gt;I created &lt;BR /&gt;
  for the Acad2004 version of my app new guid's and renamed the library to &lt;BR /&gt;
  version 2, so there are no conflicts as far as I can see.&lt;BR /&gt;Also I removed &lt;BR /&gt;
  all the application entries from the registry but still it will not register &lt;BR /&gt;
  my objects, also on machines on wich no .net compiler is &lt;BR /&gt;
  installed.&lt;BR /&gt;&lt;BR /&gt;Does anyone know what can cause this problem?, &lt;BR /&gt;
  thanks&lt;BR /&gt;&lt;BR /&gt;Gertwin Groen&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Tue, 03 Jun 2003 09:45:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/unable-to-register-atl-objects/m-p/320503#M35796</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-06-03T09:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to register ATL objects</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/unable-to-register-atl-objects/m-p/320504#M35797</link>
      <description>Does your type library (idl) import any AutoCAD type libraries?&lt;BR /&gt;
&lt;BR /&gt;
"ggr" &lt;GGR&gt; wrote in message news:f169d43.-1@WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; Hi,&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; I have a Acad2002 ATL application wich has run without problems until I installed Acad2004.&lt;BR /&gt;
&amp;gt; From that point on it can't register its ATL objects, even if I use a version wich I created before installing&lt;BR /&gt;
Acad2004.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; FAILED(_Module.RegisterServer(TRUE)) == true&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; I created for the Acad2004 version of my app new guid's and renamed the library to version 2, so there are no&lt;BR /&gt;
conflicts as far as I can see.&lt;BR /&gt;
&amp;gt; Also I removed all the application entries from the registry but still it will not register my objects, also on&lt;BR /&gt;
machines on wich no .net compiler is installed.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Does anyone know what can cause this problem?, thanks&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Gertwin Groen&lt;/GGR&gt;</description>
      <pubDate>Tue, 03 Jun 2003 10:51:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/unable-to-register-atl-objects/m-p/320504#M35797</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-06-03T10:51:11Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/unable-to-register-atl-objects/m-p/320505#M35798</link>
      <description>No, I don't use any acad type libraries.&lt;BR /&gt;&lt;BR /&gt;
My atl objects are simple wrappers around common use C++ objects wich I can call from lisp.&lt;BR /&gt;&lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;
In atlbase.h there is a function: AtlModuleUpdateRegistryFromResourceD&lt;BR /&gt;&lt;BR /&gt;
Inside that function it tries to create a pointer to a IRegistrar interface (CoCreateInstance(CLSID_Registrar, ...)&lt;BR /&gt;&lt;BR /&gt;
The creation of that pointer fails.&lt;BR /&gt;&lt;BR /&gt;
If I monitor the registry calls it says it can't find open the registry key for CLSID_Registrar (defined in atlbase.h).&lt;BR /&gt;&lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;
Strange is that in acad2004 registration of my atl objects goes well and the clsid for IRegistrar is the same in vc7 and vc6.&lt;BR /&gt;&lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;
Gertwin Groen</description>
      <pubDate>Wed, 04 Jun 2003 01:57:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/unable-to-register-atl-objects/m-p/320505#M35798</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-06-04T01:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to register ATL objects</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/unable-to-register-atl-objects/m-p/320506#M35799</link>
      <description>I solved the problem.&lt;BR /&gt;&lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;
The registration process needed an object IRegistrar wich it could not create.&lt;BR /&gt;The IRegistrar interface is in the atl.dll.&lt;BR /&gt;&lt;BR /&gt;
After registering the atl.dll everything is as before.&lt;BR /&gt;&lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;
I don't know what caused this, mayby it was the installation of the atl70.dll wich is now on my system after Acad2004 and VC7 installation.&lt;BR /&gt;&lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;
Gertwin Groen</description>
      <pubDate>Tue, 10 Jun 2003 02:20:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/unable-to-register-atl-objects/m-p/320506#M35799</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-06-10T02:20:58Z</dc:date>
    </item>
  </channel>
</rss>

