<?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: isDerivedFrom gives a linker error in CLR projects with latest Visual Studio in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/isderivedfrom-gives-a-linker-error-in-clr-projects-with-latest/m-p/13270984#M214</link>
    <description>&lt;P&gt;I found this work around by&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1937895"&gt;@moogalm&lt;/a&gt;&amp;nbsp; :&lt;/P&gt;&lt;P&gt;&lt;A href="https://developercommunity.visualstudio.com/t/After-a-VS2022-update-I-got-LNK2032:-The/10796640" target="_blank" rel="noopener"&gt;https://developercommunity.visualstudio.com/t/After-a-VS2022-update-I-got-LNK2032:-The/10796640&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Jan 2025 07:50:17 GMT</pubDate>
    <dc:creator>ow</dc:creator>
    <dc:date>2025-01-20T07:50:17Z</dc:date>
    <item>
      <title>isDerivedFrom gives a linker error in CLR projects with latest Visual Studio</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/isderivedfrom-gives-a-linker-error-in-clr-projects-with-latest/m-p/13270952#M213</link>
      <description>&lt;P&gt;Does anyone have a solution for this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get this linker error:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;metadata inconsistent with COFF symbol table: symbol '?isDerivedFrom@AcRxClass@@$$FSA_NPEBV1@0@Z' (0A00006F) mapped to '&amp;lt;unknown symbol&amp;gt;' (06000032) in mgPoly.obj&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With the latest versions of Visual Studio 2022 using ObjectARX 2025.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;To replicate:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Open the polysamp project, and edit mgPoly.cpp to include isDerivedFrom somewhere:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;//////////////////////////////////////////////////////////////////////////
// constructor
Autodesk::ObjectDbxSample::Poly::Poly() 
:Autodesk::AutoCAD::DatabaseServices::Curve(System::IntPtr(new AsdkPoly()), true)
{
    acutPrintf(_T("\n*********************Constructor"));
    if (GetImpObj()-&amp;gt;isA()-&amp;gt;isDerivedFrom(AcDbCurve::desc()))
    {
		acutPrintf(_T("\nDerived from AcDbCurve"));
    }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A rollback to Visual studio version 17.8 fixes the problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2025 07:37:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/isderivedfrom-gives-a-linker-error-in-clr-projects-with-latest/m-p/13270952#M213</guid>
      <dc:creator>ow</dc:creator>
      <dc:date>2025-01-20T07:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: isDerivedFrom gives a linker error in CLR projects with latest Visual Studio</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/isderivedfrom-gives-a-linker-error-in-clr-projects-with-latest/m-p/13270984#M214</link>
      <description>&lt;P&gt;I found this work around by&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1937895"&gt;@moogalm&lt;/a&gt;&amp;nbsp; :&lt;/P&gt;&lt;P&gt;&lt;A href="https://developercommunity.visualstudio.com/t/After-a-VS2022-update-I-got-LNK2032:-The/10796640" target="_blank" rel="noopener"&gt;https://developercommunity.visualstudio.com/t/After-a-VS2022-update-I-got-LNK2032:-The/10796640&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2025 07:50:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/isderivedfrom-gives-a-linker-error-in-clr-projects-with-latest/m-p/13270984#M214</guid>
      <dc:creator>ow</dc:creator>
      <dc:date>2025-01-20T07:50:17Z</dc:date>
    </item>
  </channel>
</rss>

