<?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[BCB5 und wsprintfW]]></title><description><![CDATA[<p>Hallo Forum</p>
<p>Ich erhalte beim kompilieren meines Quellcodes einen Fehler mit dem ich gar nichts anfangen kann.<br />
<em>E2451 Undefined symbol 'wsprintfW_instead_use_StringCbPrintfW_or_StringCchPrintfW'</em></p>
<p>Der Fehler bezieht sich auf die Zeile:</p>
<pre><code class="language-cpp">wsprintfW(wsz1, L&quot;FilterGraph %08x pid %08x&quot;, (DWORD*)pUnkGraph, GetCurrentProcessId());
</code></pre>
<p>Kennt jemand das Problem?<br />
Forumsuche war erfolglos und google auch.</p>
<p>Danke für jede Antwort.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/103294/bcb5-und-wsprintfw</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Jul 2026 05:17:38 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/103294.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 07 Mar 2005 10:00:20 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to BCB5 und wsprintfW on Mon, 07 Mar 2005 10:00:20 GMT]]></title><description><![CDATA[<p>Hallo Forum</p>
<p>Ich erhalte beim kompilieren meines Quellcodes einen Fehler mit dem ich gar nichts anfangen kann.<br />
<em>E2451 Undefined symbol 'wsprintfW_instead_use_StringCbPrintfW_or_StringCchPrintfW'</em></p>
<p>Der Fehler bezieht sich auf die Zeile:</p>
<pre><code class="language-cpp">wsprintfW(wsz1, L&quot;FilterGraph %08x pid %08x&quot;, (DWORD*)pUnkGraph, GetCurrentProcessId());
</code></pre>
<p>Kennt jemand das Problem?<br />
Forumsuche war erfolglos und google auch.</p>
<p>Danke für jede Antwort.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/739320</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/739320</guid><dc:creator><![CDATA[meskal1n]]></dc:creator><pubDate>Mon, 07 Mar 2005 10:00:20 GMT</pubDate></item><item><title><![CDATA[Reply to BCB5 und wsprintfW on Mon, 07 Mar 2005 10:18:40 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>die fehlermedlung besagt das wsprintfW nicht bekannt ist.<br />
Du hast das wohl falsch geschrieben, richtig muß es swprintf heißen, laut meiner BCB-Hilfe</p>
<blockquote>
<p>#include &lt;stdio.h&gt;<br />
int sprintf(char *buffer, const char *format[, argument, ...]);<br />
int swprintf(wchar_t *buffer, const wchar_t *format[, argument, ...]);</p>
</blockquote>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/739336</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/739336</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Mon, 07 Mar 2005 10:18:40 GMT</pubDate></item><item><title><![CDATA[Reply to BCB5 und wsprintfW on Mon, 07 Mar 2005 10:30:49 GMT]]></title><description><![CDATA[<p>Danke für die schnelle Antwort.<br />
Die Header war bereits eingebunden.<br />
Ich habe es auch schon sprintf und swprintf versucht.<br />
Leider kommt immernoch die Fehlermeldung.<br />
bei sprintf:<br />
<em>E2451 Undefined symbol 'sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA'</em></p>
<p>bei swprintf:<br />
<em>E2451 Undefined symbol 'swprintf_instead_use_StringCbPrintfW_or_StringCchPrintfW'</em></p>
<p>harr</p>
<p>Vielleicht liegt es daran, daß ich ein VisualStudio Projekt mit dem BCB Tool <em>Visual C++ Project Conersation Utility</em> konvertiert habe?</p>
<p>Mfg Matthias</p>
]]></description><link>https://www.c-plusplus.net/forum/post/739340</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/739340</guid><dc:creator><![CDATA[meskal1n]]></dc:creator><pubDate>Mon, 07 Mar 2005 10:30:49 GMT</pubDate></item><item><title><![CDATA[Reply to BCB5 und wsprintfW on Mon, 07 Mar 2005 10:44:23 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>scheint etwas mit der Konvertierung zu tun haben, denn die Befehle StringCbPrintfA,... sind anscheinend WinAPI-Befehle<br />
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/resources/strings/stringreference/stringfunctions/stringcbprintf.asp" rel="nofollow">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/resources/strings/stringreference/stringfunctions/stringcbprintf.asp</a></p>
<p>eventuell hilft es ja, wenn du statt sprintf bzw. swprintf die vorgeschlagenen WinAPI-befehle nimmst.</p>
<p>warum du aber die eigentlichen Funktionen nicht nutzen kannst, weiß ich nicht. Ist da irgend ein Makro aktiv?</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/739348</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/739348</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Mon, 07 Mar 2005 10:44:23 GMT</pubDate></item><item><title><![CDATA[Reply to BCB5 und wsprintfW on Mon, 07 Mar 2005 11:32:55 GMT]]></title><description><![CDATA[<p>Hmmm.. bei mir kompiliert deine Zeile fehlerfrei (auch ohne stdio). Vllt. könntest du mal ein wenig mehr Quelltext zeigen. Z.B. welche Header mit eingebunden werden.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/739400</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/739400</guid><dc:creator><![CDATA[Dasd]]></dc:creator><pubDate>Mon, 07 Mar 2005 11:32:55 GMT</pubDate></item><item><title><![CDATA[Reply to BCB5 und wsprintfW on Mon, 07 Mar 2005 11:45:08 GMT]]></title><description><![CDATA[<p>Hallo Akari<br />
Danke für deine Tipps<br />
Die WinAPI Befehle soll/darf ich nicht nehmen.<br />
Ich habe die Zeile betreffende Zeile ausdokumentiert, eine kleine Änderung in einer anderen Methode und nun läuft es. Nun gibt mein Programm zwar nur leer ErrorMessages aus, das ist im Moment aber egal.<br />
Danke nochmals für deine Tipps.</p>
<p>Mit den Makros bin ich mir nicht sicher. Wo kann ich nachprüfen welche Makros aktiv sind (verwende erst seit kurzem CBuilder)</p>
<p>Mfg Matze</p>
]]></description><link>https://www.c-plusplus.net/forum/post/739416</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/739416</guid><dc:creator><![CDATA[meskal1n]]></dc:creator><pubDate>Mon, 07 Mar 2005 11:45:08 GMT</pubDate></item><item><title><![CDATA[Reply to BCB5 und wsprintfW on Mon, 07 Mar 2005 12:14:03 GMT]]></title><description><![CDATA[<p>Hallo</p>
<blockquote>
<p>Mit den Makros bin ich mir nicht sicher. Wo kann ich nachprüfen welche Makros aktiv sind (verwende erst seit kurzem CBuilder)</p>
</blockquote>
<p>Makros bzw. Präcompiler-Symbole sind C++ Answisung wie</p>
<pre><code class="language-cpp">#ifdef __BUILDING_THE_DLL
#define __EXPORT_TYPE __export
#else
#define __EXPORT_TYPE __import
#endif
</code></pre>
<p>was für eine Beeinflußung des Quellcodes vor den Kompilieren sorgt.<br />
Deshalb meine Vermutuzng, das</p>
<pre><code>sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA
</code></pre>
<p>ein Makro oder das Ergebnis eines Makros ist.<br />
Kannst ja mal mit Menü <em>Suchen/In Dateien suchen</em> nach einzelnen Teilen aus dem Ausdruck suchen lassen. Vielleicht findest du was.</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/739461</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/739461</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Mon, 07 Mar 2005 12:14:03 GMT</pubDate></item><item><title><![CDATA[Reply to BCB5 und wsprintfW on Mon, 07 Mar 2005 14:33:59 GMT]]></title><description><![CDATA[<p>Hallo @ all<br />
Hat sich erledigt. Der Fehler hatte mit der strsafe.h zu tun.<br />
siehe <a href="http://www.microsoft.com/germany/msdn/library/net/visualstudio/CLaufzeitbibliothekenSichern.mspx" rel="nofollow">http://www.microsoft.com/germany/msdn/library/net/visualstudio/CLaufzeitbibliothekenSichern.mspx</a><br />
Trotzdem dank an alle.</p>
<p>Mfg Matze</p>
]]></description><link>https://www.c-plusplus.net/forum/post/739595</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/739595</guid><dc:creator><![CDATA[meskal1n]]></dc:creator><pubDate>Mon, 07 Mar 2005 14:33:59 GMT</pubDate></item></channel></rss>