<?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[afxDump]]></title><description><![CDATA[<p>hi.</p>
<p>muss ich irgendwie den header &quot;afx.h&quot; einfügen, um diesen fehler loszuwerden?</p>
<pre><code class="language-cpp">error C2065: 'afxDump' : undeclared identifier
</code></pre>
<p>folgende seite erzählt was von der &quot;dumpinit.h&quot;:<br />
<a href="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=413133&amp;SiteID=1" rel="nofollow">http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=413133&amp;SiteID=1</a><br />
sollte ich</p>
<pre><code class="language-cpp">#ifndef _WIN32_WCE
AFX_DATADEF CDumpContext afxDump;
#endif // !_WIN32_WCE
</code></pre>
<p>rauslöschen aus dieser datei?</p>
<p>DANKE!</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/171860/afxdump</link><generator>RSS for Node</generator><lastBuildDate>Sun, 26 Apr 2026 22:27:35 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/171860.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 30 Jan 2007 08:33:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to afxDump on Tue, 30 Jan 2007 08:33:47 GMT]]></title><description><![CDATA[<p>hi.</p>
<p>muss ich irgendwie den header &quot;afx.h&quot; einfügen, um diesen fehler loszuwerden?</p>
<pre><code class="language-cpp">error C2065: 'afxDump' : undeclared identifier
</code></pre>
<p>folgende seite erzählt was von der &quot;dumpinit.h&quot;:<br />
<a href="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=413133&amp;SiteID=1" rel="nofollow">http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=413133&amp;SiteID=1</a><br />
sollte ich</p>
<pre><code class="language-cpp">#ifndef _WIN32_WCE
AFX_DATADEF CDumpContext afxDump;
#endif // !_WIN32_WCE
</code></pre>
<p>rauslöschen aus dieser datei?</p>
<p>DANKE!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1219575</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1219575</guid><dc:creator><![CDATA[kurze Frage]]></dc:creator><pubDate>Tue, 30 Jan 2007 08:33:47 GMT</pubDate></item><item><title><![CDATA[Reply to afxDump on Tue, 30 Jan 2007 09:31:03 GMT]]></title><description><![CDATA[<p>afxDump gehört direkt zur MFC. Wenn Du es also benutzen willst musst Du die MFC Header inkluden.</p>
<p>Geht es bei Dir den um die MFC 8.0 for devices?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1219625</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1219625</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Tue, 30 Jan 2007 09:31:03 GMT</pubDate></item><item><title><![CDATA[Reply to afxDump on Tue, 30 Jan 2007 14:40:26 GMT]]></title><description><![CDATA[<p>es geht mir einfach darum, dass ich mir mein programm anzeigen soll, wo es sich gerade befinden.</p>
<p>welche &quot;MFC Header&quot; sollte ich &quot;inkluden&quot;?</p>
<p>thx.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1219861</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1219861</guid><dc:creator><![CDATA[kurze Frage]]></dc:creator><pubDate>Tue, 30 Jan 2007 14:40:26 GMT</pubDate></item><item><title><![CDATA[Reply to afxDump on Tue, 30 Jan 2007 17:17:58 GMT]]></title><description><![CDATA[<p>kurze Frage schrieb:</p>
<blockquote>
<p>es geht mir einfach darum, dass ich mir mein programm anzeigen soll, wo es sich gerade befinden.</p>
<p>welche &quot;MFC Header&quot; sollte ich &quot;inkluden&quot;?</p>
</blockquote>
<p>Wenn macht nur afx.h Sinn!</p>
<p>Aber was hat dass nun wieder mit afxDump zu tun? Und was für ein Programm ist das? Verwendet denn Dein Programm bisher die MFC? Wenn nicht macht es ja keinen Sinn diese wegen afxDump einzubauen!<br />
Zeig einfach mal ein bischen Code.<br />
Evtl. tut es ja auch DebugOutput!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1220028</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1220028</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Tue, 30 Jan 2007 17:17:58 GMT</pubDate></item><item><title><![CDATA[Reply to afxDump on Tue, 30 Jan 2007 19:33:50 GMT]]></title><description><![CDATA[<p>Ausserdem ist <em><strong>afxDump</strong></em> nur in der Debug-Version der MFC deklariert. Versuchst Du vielleicht einen Release Build?</p>
<p>Gruss, Gio</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1220116</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1220116</guid><dc:creator><![CDATA[Gio]]></dc:creator><pubDate>Tue, 30 Jan 2007 19:33:50 GMT</pubDate></item><item><title><![CDATA[Reply to afxDump on Wed, 31 Jan 2007 01:17:55 GMT]]></title><description><![CDATA[<p>Martin Richter schrieb:</p>
<blockquote>
<p>Wenn macht nur afx.h Sinn!</p>
</blockquote>
<p>jo, dass habe ich probiert. da gibt es aber folgende meldung:</p>
<blockquote>
<p>fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include &lt;windows.h&gt;</p>
</blockquote>
<p>meine anwendung ist ein SDI. in diese habe ich ein paar klassen eingefügt, etwa so:<br />
-meine ProgView.h:</p>
<pre><code class="language-cpp">// ProgView.h : interface of the CMy3DPlantView class
//
#include &lt;iostream&gt;
#include &lt;sstream&gt;
#include &lt;fstream&gt;

#include &lt;cBild.h&gt; // selber geschriebene headerfile

#pragma once

class CMy3DPlantView : public CView
{
protected: // create from serialization only
	CMy3DPlantView();
	DECLARE_DYNCREATE(CMy3DPlantView)

public:
	CMy3DPlantDoc* GetDocument() const;

public:
	afx_msg void OnRecPlant();

private:
	void AnlyImg();

// Overrides
public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT&amp; cs);
//...
</code></pre>
<p>in der funktion OnRecPlant wird dann eine variable des typs cBild deklariert. in der source-datei cBild.cpp möchte ich gerne afxDump unterbringen. folgende header stehen jetzt in der cBild.h:</p>
<pre><code>#include &lt;sstream&gt;
#include &lt;fstream&gt;
#include &lt;cmath&gt;
#include &lt;windows.h&gt;
#include &lt;EasyBMP.h&gt;
#include &lt;conio.h&gt;

// + eigene definierte header files
</code></pre>
<p>ich hoffe, ihr könnt mir damit weiterhelfen, denn ich brauche das unbedingt!! meistens habe ich einfach eine vorschleife, die irgendwann zwischendrin einen fehler hat und ich will nun wissen, bei welchem wert sie hängen bleibt, um den fehler schneller zu finden. bisher machte ich es halt so:</p>
<pre><code>for (i=0;i&lt;irgendwas.size();i++)
{
     cout &lt;&lt; &quot;i: &quot; &lt;&lt; i;     
     Function1();
     Function2();
     Function3();
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1220261</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1220261</guid><dc:creator><![CDATA[kurze Frage]]></dc:creator><pubDate>Wed, 31 Jan 2007 01:17:55 GMT</pubDate></item><item><title><![CDATA[Reply to afxDump on Wed, 31 Jan 2007 07:22:03 GMT]]></title><description><![CDATA[<p>kurze Frage schrieb:</p>
<blockquote>
<p>Martin Richter schrieb:</p>
<blockquote>
<p>Wenn macht nur afx.h Sinn!</p>
</blockquote>
<p>jo, dass habe ich probiert. da gibt es aber folgende meldung:</p>
<blockquote>
<p>fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include &lt;windows.h&gt;</p>
</blockquote>
</blockquote>
<p>Mach bitte zallererst einen include auf die afx.h. Nichts davor!</p>
<p>Wie kann das überhaupt kommen? Du musst irgendwelche Windows Header vor die Standard-Header gepackt haben!<br />
Die Meldungist eindeutig. Erst MFC Header und niemals die Windows Header selbst includen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1220284</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1220284</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Wed, 31 Jan 2007 07:22:03 GMT</pubDate></item></channel></rss>