<?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: Use MFC  in ArchiCAD Addon in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Use-MFC-in-ArchiCAD-Addon/m-p/145536#M6795</link>
    <description>&lt;BLOCKQUOTE&gt;mrndf wrote:&lt;BR /&gt;Because I want to send Data from ArchiCAD to an App via DDE, I need mfc support in the add on. Trying this I get a linker error:&lt;BR /&gt;
Fehler	1	error LNK2005: _DllMain@12 ist bereits in ACAP_STAT.lib(ACAPlib.obj) definiert.	mfcs80d.lib	&lt;BR /&gt;
English&lt;BR /&gt;
Error	1	error LNK2005: _DllMain@12 is already defined in ACAP_STAT.lib(ACAPlib.obj).	mfcs80d.lib	&lt;BR /&gt;
So has anyone a idea, or has already done similar things?&lt;/BLOCKQUOTE&gt;
I suggest finding another way to send the data. MFC comes with a whole bundle of assumptions that will cause problems in an add-on environment - link errors are only the beginning of the pain. Keep in mind that an add-on is not an application in its own right and is subject to a number of restrictions as a result.</description>
    <pubDate>Thu, 26 Nov 2009 17:55:10 GMT</pubDate>
    <dc:creator>Ralph Wessel</dc:creator>
    <dc:date>2009-11-26T17:55:10Z</dc:date>
    <item>
      <title>Use MFC  in ArchiCAD Addon</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Use-MFC-in-ArchiCAD-Addon/m-p/145535#M6794</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Because I want to send Data from ArchiCAD to an App via DDE, I need mfc support in the add on. Trying this I get a linker error:&lt;BR /&gt;&lt;BR /&gt;Fehler 1 error LNK2005: _DllMain@12 ist bereits in ACAP_STAT.lib(ACAPlib.obj) definiert. mfcs80d.lib &lt;BR /&gt;&lt;BR /&gt;English&lt;BR /&gt;Error 1 error LNK2005: _DllMain@12 is already defined in ACAP_STAT.lib(ACAPlib.obj). mfcs80d.lib &lt;BR /&gt;&lt;BR /&gt;So has anyone a idea, or has already done similar things?&lt;BR /&gt;&lt;BR /&gt;Thanks marc&lt;/DIV&gt;</description>
      <pubDate>Thu, 03 Aug 2023 11:23:04 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Use-MFC-in-ArchiCAD-Addon/m-p/145535#M6794</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-08-03T11:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: Use MFC  in ArchiCAD Addon</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Use-MFC-in-ArchiCAD-Addon/m-p/145536#M6795</link>
      <description>&lt;BLOCKQUOTE&gt;mrndf wrote:&lt;BR /&gt;Because I want to send Data from ArchiCAD to an App via DDE, I need mfc support in the add on. Trying this I get a linker error:&lt;BR /&gt;
Fehler	1	error LNK2005: _DllMain@12 ist bereits in ACAP_STAT.lib(ACAPlib.obj) definiert.	mfcs80d.lib	&lt;BR /&gt;
English&lt;BR /&gt;
Error	1	error LNK2005: _DllMain@12 is already defined in ACAP_STAT.lib(ACAPlib.obj).	mfcs80d.lib	&lt;BR /&gt;
So has anyone a idea, or has already done similar things?&lt;/BLOCKQUOTE&gt;
I suggest finding another way to send the data. MFC comes with a whole bundle of assumptions that will cause problems in an add-on environment - link errors are only the beginning of the pain. Keep in mind that an add-on is not an application in its own right and is subject to a number of restrictions as a result.</description>
      <pubDate>Thu, 26 Nov 2009 17:55:10 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Use-MFC-in-ArchiCAD-Addon/m-p/145536#M6795</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2009-11-26T17:55:10Z</dc:date>
    </item>
  </channel>
</rss>

