<?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[Zugriff auf CString* schlägt fehl]]></title><description><![CDATA[<p>Hi,</p>
<p>kann mir einer sagen warum ich bei dem unteren Quelltext diese Fehlermeldug bekomme ? Die m_strLogFile Membervariable habe ich in der Klasse als CString deklariert.</p>
<p>error C2039: 'm_strLogFile' : Ist kein Element von 'CString'</p>
<pre><code class="language-cpp">...
// Überprüfen ob das aktuelle Logfile existiert
CString *file = NULL;
CFileFind find;
find.FindFile(file-&gt;m_strLogFile);
...
</code></pre>
<p>vielen Dank</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/53706/zugriff-auf-cstring-schlägt-fehl</link><generator>RSS for Node</generator><lastBuildDate>Mon, 01 Jun 2026 10:42:13 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/53706.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 31 Oct 2003 12:55:22 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Zugriff auf CString* schlägt fehl on Fri, 31 Oct 2003 12:55:22 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>kann mir einer sagen warum ich bei dem unteren Quelltext diese Fehlermeldug bekomme ? Die m_strLogFile Membervariable habe ich in der Klasse als CString deklariert.</p>
<p>error C2039: 'm_strLogFile' : Ist kein Element von 'CString'</p>
<pre><code class="language-cpp">...
// Überprüfen ob das aktuelle Logfile existiert
CString *file = NULL;
CFileFind find;
find.FindFile(file-&gt;m_strLogFile);
...
</code></pre>
<p>vielen Dank</p>
]]></description><link>https://www.c-plusplus.net/forum/post/383513</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/383513</guid><dc:creator><![CDATA[Jarin2003]]></dc:creator><pubDate>Fri, 31 Oct 2003 12:55:22 GMT</pubDate></item></channel></rss>