<?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[Nichtmodales Fenster in einer DLL]]></title><description><![CDATA[<p>Wie erstelle ich ein nichtmodales Fenster in einer DLL ?</p>
<p>Es kommt bei mir bei &quot;ShowWindow(SW_NORMAL);&quot; folgende Fehlermeldung<br />
_______________________________________________________<br />
Debug Assertion Failed!<br />
Programm : C:\...\Project1.exe<br />
File : winocc.cpp<br />
Line 301</p>
<p>For Information on how your program can cause assertion<br />
failure, see the Visual C++ documentation on asserts.<br />
_________________________________________________________</p>
<p>Danke<br />
Gruss<br />
Alex</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/82966/nichtmodales-fenster-in-einer-dll</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Apr 2026 02:31:42 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/82966.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 16 Aug 2004 14:33:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Nichtmodales Fenster in einer DLL on Mon, 16 Aug 2004 14:33:37 GMT]]></title><description><![CDATA[<p>Wie erstelle ich ein nichtmodales Fenster in einer DLL ?</p>
<p>Es kommt bei mir bei &quot;ShowWindow(SW_NORMAL);&quot; folgende Fehlermeldung<br />
_______________________________________________________<br />
Debug Assertion Failed!<br />
Programm : C:\...\Project1.exe<br />
File : winocc.cpp<br />
Line 301</p>
<p>For Information on how your program can cause assertion<br />
failure, see the Visual C++ documentation on asserts.<br />
_________________________________________________________</p>
<p>Danke<br />
Gruss<br />
Alex</p>
]]></description><link>https://www.c-plusplus.net/forum/post/583829</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/583829</guid><dc:creator><![CDATA[AlexSnd]]></dc:creator><pubDate>Mon, 16 Aug 2004 14:33:37 GMT</pubDate></item><item><title><![CDATA[Reply to Nichtmodales Fenster in einer DLL on Tue, 17 Aug 2004 07:51:48 GMT]]></title><description><![CDATA[<p>Microsoft schrieb:</p>
<blockquote>
<pre><code class="language-cpp">// winocc.cpp
BOOL CWnd::ShowWindow(int nCmdShow)
{
  ASSERT(::IsWindow(m_hWnd)); // &lt;-- line 301
</code></pre>
</blockquote>
<p>Microsoft schrieb:</p>
<blockquote>
<p>The IsWindow function determines whether the specified window handle identifies an existing window.</p>
</blockquote>
]]></description><link>https://www.c-plusplus.net/forum/post/584354</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/584354</guid><dc:creator><![CDATA[CMatt]]></dc:creator><pubDate>Tue, 17 Aug 2004 07:51:48 GMT</pubDate></item><item><title><![CDATA[Reply to Nichtmodales Fenster in einer DLL on Tue, 17 Aug 2004 09:24:46 GMT]]></title><description><![CDATA[<p>Und was soll mir das sagen ???</p>
<p>Sorry für Anfänger-Fragen <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/584418</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/584418</guid><dc:creator><![CDATA[AlexSnd]]></dc:creator><pubDate>Tue, 17 Aug 2004 09:24:46 GMT</pubDate></item><item><title><![CDATA[Reply to Nichtmodales Fenster in einer DLL on Tue, 17 Aug 2004 09:31:02 GMT]]></title><description><![CDATA[<p>Dein fenster existiert nicht. Da läuft schon vorher was falsch, beim create.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/584426</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/584426</guid><dc:creator><![CDATA[CMatt]]></dc:creator><pubDate>Tue, 17 Aug 2004 09:31:02 GMT</pubDate></item><item><title><![CDATA[Reply to Nichtmodales Fenster in einer DLL on Tue, 17 Aug 2004 10:07:30 GMT]]></title><description><![CDATA[<p>in einer Funktion :</p>
<pre><code>MyWindow* mywnd = new MyWindow;
</code></pre>
<p>Konstruktor von MyWindow :</p>
<pre><code>MyWindow::MyWindow()
{
	const RECT myRect;
	CWnd::Create(&quot;CWnd&quot;, &quot;TEST&quot;, WS_MAXIMIZE, myRect, NULL, 1, NULL);
	CWnd::ShowWindow(SW_SHOWMAXIMIZED);
}
</code></pre>
<p>Jetzt kommt der Fehler hier :</p>
<pre><code>ASSERT(pParentWnd != NULL);
</code></pre>
<p>Bedeutet vermutlich dass ein Parent existiert obwohl ich den im Create als NULL angegeben habe.<br />
Der Parent ist in einem Java-Programm, welches die DLL benutzt, wie komme ich denn da dran ?</p>
<p>Danke<br />
Gruss<br />
Alex</p>
]]></description><link>https://www.c-plusplus.net/forum/post/584452</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/584452</guid><dc:creator><![CDATA[AlexSnd]]></dc:creator><pubDate>Tue, 17 Aug 2004 10:07:30 GMT</pubDate></item><item><title><![CDATA[Reply to Nichtmodales Fenster in einer DLL on Tue, 17 Aug 2004 10:48:09 GMT]]></title><description><![CDATA[<p>Habe das <em>MyWindow</em> von <em>CFrameWnd</em> abgeleitet, jetzt scheint es zu funktionieren <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/584487</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/584487</guid><dc:creator><![CDATA[AlexSnd]]></dc:creator><pubDate>Tue, 17 Aug 2004 10:48:09 GMT</pubDate></item></channel></rss>