<?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: GSDH and API10 in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/GSDH-and-API10/m-p/13602#M7176</link>
    <description>Thank for the answer and the help. I tried #if, but I have not guessed to define it in the command line of ResConv.&lt;BR /&gt;
It is not a perfect solution for the 'GSDH', but anyway mach better than nothing.&lt;BR /&gt;
Thank again.</description>
    <pubDate>Mon, 03 Jul 2006 18:14:42 GMT</pubDate>
    <dc:creator>Oleg</dc:creator>
    <dc:date>2006-07-03T18:14:42Z</dc:date>
    <item>
      <title>GSDH and API10</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/GSDH-and-API10/m-p/13600#M7174</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Just tried the API for AC10 and I was extremely surprised, that it seems the GRC compiler now does not compile 'GSDH' resource.&lt;BR /&gt;If I have correctly understood, instead of it was introduced 'DLGH'. I do not understand why it was impossible to keep 'GSDH' for compatibility.&lt;BR /&gt;It is now a lot of work and difficulties, especially at localization &lt;IMG style="display: inline;" src="https://community.graphisoft.com/legacyfs/online/emojis/icon_sad.gif" border="0" /&gt; &lt;BR /&gt;May be I have missing something.&lt;BR /&gt;&lt;BR /&gt;Well, then may be somebody knows any trick, how now possible to have single grc file compatible for 9 and 10 API ?&lt;BR /&gt;May be GRC compiler has some preprocessing features something like "if/endif" or like "define" ?&lt;BR /&gt;Or may be somebody know - will resources compiled by old GRC compiler from API 6.1 compatible with new DG module of API 10 ?&lt;/DIV&gt;</description>
      <pubDate>Mon, 07 Aug 2023 09:09:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/GSDH-and-API10/m-p/13600#M7174</guid>
      <dc:creator>Oleg</dc:creator>
      <dc:date>2023-08-07T09:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: GSDH and API10</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/GSDH-and-API10/m-p/13601#M7175</link>
      <description>&lt;BLOCKQUOTE&gt;Oleg wrote:&lt;BR /&gt;May be GRC compiler has some preprocessing features  &lt;BR /&gt;
something like "if/endif" or like "define" ?&lt;/BLOCKQUOTE&gt; &lt;BR /&gt;
Yes, GRC allows #defines like this for example: 
&lt;PRE&gt; 
#if defined (DOPALETTE) 
'GDLG'  32500  Palette | noCaption  0   0  300  200  "About"  { 
#else 
'GDLG'  32500  Modal | noCaption  0   0  300  200  "About"  { 
#endif 
&lt;/PRE&gt; &lt;BR /&gt;
Of course you need to supply the defines to ResConv like this:
&lt;PRE&gt;-d DOPALETTE&lt;/PRE&gt;
 
&lt;BLOCKQUOTE&gt;Oleg wrote:&lt;BR /&gt;Or may be somebody know - will resources compiled by old GRC compiler from API 6.1 compatible with new DG module of API 10 ?&lt;/BLOCKQUOTE&gt; &lt;BR /&gt;
Nope, the two resource files are completely incompatible. Sorry. &lt;BR /&gt;
 &lt;BR /&gt;
Andras.</description>
      <pubDate>Mon, 03 Jul 2006 16:36:12 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/GSDH-and-API10/m-p/13601#M7175</guid>
      <dc:creator>Andras Babos</dc:creator>
      <dc:date>2006-07-03T16:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: GSDH and API10</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/GSDH-and-API10/m-p/13602#M7176</link>
      <description>Thank for the answer and the help. I tried #if, but I have not guessed to define it in the command line of ResConv.&lt;BR /&gt;
It is not a perfect solution for the 'GSDH', but anyway mach better than nothing.&lt;BR /&gt;
Thank again.</description>
      <pubDate>Mon, 03 Jul 2006 18:14:42 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/GSDH-and-API10/m-p/13602#M7176</guid>
      <dc:creator>Oleg</dc:creator>
      <dc:date>2006-07-03T18:14:42Z</dc:date>
    </item>
  </channel>
</rss>

