<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[LPCTRSTR benutzen]]></title><description><![CDATA[<p>Hallo, ich habe in der FAQ folgendes Beispiel gesehen: <a href="http://www.c-plusplus.net/forum/p284104#284104" rel="nofollow">http://www.c-plusplus.net/forum/p284104#284104</a></p>
<p>dort steht &quot;forward declaration im header&quot;, allerdings verstehe ich nicht ganz die Bedeutung davon</p>
<pre><code>#include &lt;iostream&gt;

using namespace std;

// forward-deklaration in nem header:
void RunApplication(LPCTSTR FileName, LPCTSTR FileParam);

int main(){
  ...
}

void RunApplication(LPCTSTR FileName, LPCTSTR FileParam){
  Wie im Beispiel beschrieben
}
</code></pre>
<p>Was muss ich im Header jetzt noch hinzufügen?</p>
<pre><code>error: variable or field 'RunApplication' declared void
error: 'LPCTSTR' was not declared in this scope
...
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/326284/lpctrstr-benutzen</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Jul 2026 09:30:56 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/326284.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 10 Jun 2014 12:48:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to LPCTRSTR benutzen on Tue, 10 Jun 2014 12:56:16 GMT]]></title><description><![CDATA[<p>Hallo, ich habe in der FAQ folgendes Beispiel gesehen: <a href="http://www.c-plusplus.net/forum/p284104#284104" rel="nofollow">http://www.c-plusplus.net/forum/p284104#284104</a></p>
<p>dort steht &quot;forward declaration im header&quot;, allerdings verstehe ich nicht ganz die Bedeutung davon</p>
<pre><code>#include &lt;iostream&gt;

using namespace std;

// forward-deklaration in nem header:
void RunApplication(LPCTSTR FileName, LPCTSTR FileParam);

int main(){
  ...
}

void RunApplication(LPCTSTR FileName, LPCTSTR FileParam){
  Wie im Beispiel beschrieben
}
</code></pre>
<p>Was muss ich im Header jetzt noch hinzufügen?</p>
<pre><code>error: variable or field 'RunApplication' declared void
error: 'LPCTSTR' was not declared in this scope
...
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/2403299</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2403299</guid><dc:creator><![CDATA[uncannysnake]]></dc:creator><pubDate>Tue, 10 Jun 2014 12:56:16 GMT</pubDate></item><item><title><![CDATA[Reply to LPCTRSTR benutzen on Tue, 10 Jun 2014 13:33:22 GMT]]></title><description><![CDATA[<p>#include &lt;Windows.h&gt;</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2403309</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2403309</guid><dc:creator><![CDATA[Singender Holzkübel]]></dc:creator><pubDate>Tue, 10 Jun 2014 13:33:22 GMT</pubDate></item><item><title><![CDATA[Reply to LPCTRSTR benutzen on Tue, 10 Jun 2014 14:24:44 GMT]]></title><description><![CDATA[<p>perfekt, danke</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2403317</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2403317</guid><dc:creator><![CDATA[uncannysnake]]></dc:creator><pubDate>Tue, 10 Jun 2014 14:24:44 GMT</pubDate></item></channel></rss>