<?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: Delphi + ACAP_DLL + Palette in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Delphi-ACAP-DLL-Palette/m-p/212867#M5352</link>
    <description>Ok, I've managed to make it work, by loading "DG.dll" and calling function from it.</description>
    <pubDate>Tue, 07 Oct 2014 10:25:12 GMT</pubDate>
    <dc:creator>ViloFR</dc:creator>
    <dc:date>2014-10-07T10:25:12Z</dc:date>
    <item>
      <title>Delphi + ACAP_DLL + Palette</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Delphi-ACAP-DLL-Palette/m-p/212866#M5351</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hi all,&lt;BR /&gt;&lt;BR /&gt;I'm a new user of ArchiCAD SDK, and I'm trying to create a very simple "proof of concept" addon for my company.&lt;BR /&gt;&lt;BR /&gt;Our main development language is Delphi, and thus it would be very handy to use it to develop the addon.&lt;BR /&gt;&lt;BR /&gt;It seams that it is possible through the "ACAP_DLL.apx" module, which acts as a middleware with EDI not able to import C headers.&lt;BR /&gt;&lt;BR /&gt;I've already succeeded to create a simple addon that registers itself and creates a menu inside ArchiCAD.&lt;BR /&gt;Works fine.&lt;BR /&gt;&lt;BR /&gt;The second step would be to create a floating dockable Palette, but here begin the problems ...&lt;BR /&gt;&lt;BR /&gt;All examples provided in the SDK dealing with "DG" functions do not make use of ACAP_DLL.&lt;BR /&gt;Those examples addons are making direct call to API, such as :&lt;BR /&gt;DGModelessInit&lt;BR /&gt;DGCreatePalette&lt;BR /&gt;DGCreateDockablePalette&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;But those DG functions, that seam to be mandatory for my purposes, are not available through ACAP_DLL.&lt;BR /&gt;&lt;BR /&gt;The only available function is "ACAPI_RegisterModelessWindow", and I can't find any sample that makes use of it to create a dockable floating Palette.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Your help will be greatly appreciated &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 01 Aug 2023 12:07:48 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Delphi-ACAP-DLL-Palette/m-p/212866#M5351</guid>
      <dc:creator>ViloFR</dc:creator>
      <dc:date>2023-08-01T12:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: Delphi + ACAP_DLL + Palette</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Delphi-ACAP-DLL-Palette/m-p/212867#M5352</link>
      <description>Ok, I've managed to make it work, by loading "DG.dll" and calling function from it.</description>
      <pubDate>Tue, 07 Oct 2014 10:25:12 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Delphi-ACAP-DLL-Palette/m-p/212867#M5352</guid>
      <dc:creator>ViloFR</dc:creator>
      <dc:date>2014-10-07T10:25:12Z</dc:date>
    </item>
  </channel>
</rss>

