<?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[Selstam...]]></title><description><![CDATA[<p>Hi Zusammen!</p>
<p>Ich möchte eigentlich den aktuellen Text in einem Editfeld an einen String übergeben lassen, doch folgende Lösung spukt ein Fehler aus??</p>
<p><strong>Mein Code (nur Fehlerteilstück)</strong></p>
<pre><code class="language-cpp">CString txt;
		m_strVerzDB1.GetWindowText(m_strVerzDB1.GetWindowTextLength(), txt);
</code></pre>
<p><strong>Fehlerausgabe</strong></p>
<blockquote>
<p>C:\Programme\Microsoft Visual Studio\MyProjects\MSP\MSPDlg.cpp(479) : error C2664: 'int __thiscall CWnd::GetWindowTextA(char *,int) const' : cannot convert parameter 1 from 'int' to 'char *'<br />
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast</p>
</blockquote>
<p>Komisch oder mach ich was falsch?? <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
<p>mfg<br />
Pro</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/79809/selstam</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Apr 2026 22:17:31 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/79809.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 14 Jul 2004 16:53:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Selstam... on Wed, 14 Jul 2004 16:54:42 GMT]]></title><description><![CDATA[<p>Hi Zusammen!</p>
<p>Ich möchte eigentlich den aktuellen Text in einem Editfeld an einen String übergeben lassen, doch folgende Lösung spukt ein Fehler aus??</p>
<p><strong>Mein Code (nur Fehlerteilstück)</strong></p>
<pre><code class="language-cpp">CString txt;
		m_strVerzDB1.GetWindowText(m_strVerzDB1.GetWindowTextLength(), txt);
</code></pre>
<p><strong>Fehlerausgabe</strong></p>
<blockquote>
<p>C:\Programme\Microsoft Visual Studio\MyProjects\MSP\MSPDlg.cpp(479) : error C2664: 'int __thiscall CWnd::GetWindowTextA(char *,int) const' : cannot convert parameter 1 from 'int' to 'char *'<br />
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast</p>
</blockquote>
<p>Komisch oder mach ich was falsch?? <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
<p>mfg<br />
Pro</p>
]]></description><link>https://www.c-plusplus.net/forum/post/560698</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/560698</guid><dc:creator><![CDATA[Programmer]]></dc:creator><pubDate>Wed, 14 Jul 2004 16:54:42 GMT</pubDate></item><item><title><![CDATA[Reply to Selstam... on Wed, 14 Jul 2004 17:43:15 GMT]]></title><description><![CDATA[<p>Warum machst du es net so:</p>
<pre><code>CString str;
GetDlgItem(ID_DEINES_CONTROLS)-&gt;GetWindowText(str);
</code></pre>
<p>Gruß<br />
:: NoName ::</p>
]]></description><link>https://www.c-plusplus.net/forum/post/560735</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/560735</guid><dc:creator><![CDATA[__NoName__]]></dc:creator><pubDate>Wed, 14 Jul 2004 17:43:15 GMT</pubDate></item><item><title><![CDATA[Reply to Selstam... on Wed, 14 Jul 2004 18:03:36 GMT]]></title><description><![CDATA[<p>Danke das klappt!<br />
<img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/560754</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/560754</guid><dc:creator><![CDATA[Programmer]]></dc:creator><pubDate>Wed, 14 Jul 2004 18:03:36 GMT</pubDate></item><item><title><![CDATA[Reply to Selstam... on Wed, 14 Jul 2004 18:03:45 GMT]]></title><description><![CDATA[<p>Abgesehen davon was :: NoName :: geschrieben hat:</p>
<p>2664: 'int __thiscall CWnd::GetWindowTextA(char *,int)</p>
<p>Hier ist der int als zweites Argument zu übergeben.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/560755</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/560755</guid><dc:creator><![CDATA[Unix-Tom]]></dc:creator><pubDate>Wed, 14 Jul 2004 18:03:45 GMT</pubDate></item></channel></rss>