<?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[App schmiert ab, wenn MDI Child freigegeben wird.]]></title><description><![CDATA[<p>Ich erstelle eine MDI-CHild Form dynamisch, funktioniert auch prima. Wenn ich nun versuche diese mit -&gt;Release wieder zu löschen, bekomme ich einen Fehler &quot;Schreiben auf Adr. 00000&quot;. Womit hat das zu tun? Will das normale Fenster noch irgendwie auf das MDI Zugreifen ???? Was tun ?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/109492/app-schmiert-ab-wenn-mdi-child-freigegeben-wird</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Jul 2026 09:34:03 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/109492.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 10 May 2005 13:48:53 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to App schmiert ab, wenn MDI Child freigegeben wird. on Tue, 10 May 2005 13:48:53 GMT]]></title><description><![CDATA[<p>Ich erstelle eine MDI-CHild Form dynamisch, funktioniert auch prima. Wenn ich nun versuche diese mit -&gt;Release wieder zu löschen, bekomme ich einen Fehler &quot;Schreiben auf Adr. 00000&quot;. Womit hat das zu tun? Will das normale Fenster noch irgendwie auf das MDI Zugreifen ???? Was tun ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/785744</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/785744</guid><dc:creator><![CDATA[Mastrio]]></dc:creator><pubDate>Tue, 10 May 2005 13:48:53 GMT</pubDate></item><item><title><![CDATA[Reply to App schmiert ab, wenn MDI Child freigegeben wird. on Tue, 10 May 2005 13:51:55 GMT]]></title><description><![CDATA[<p>zeig mal den ausschnitt wo du sie erstellst und wo du sie löschen möchtest</p>
]]></description><link>https://www.c-plusplus.net/forum/post/785749</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/785749</guid><dc:creator><![CDATA[BigNeal]]></dc:creator><pubDate>Tue, 10 May 2005 13:51:55 GMT</pubDate></item><item><title><![CDATA[Reply to App schmiert ab, wenn MDI Child freigegeben wird. on Tue, 10 May 2005 14:01:34 GMT]]></title><description><![CDATA[<p>erstellen:</p>
<pre><code class="language-cpp">if (WorkForm==NULL) { 
    WorkForm = new TForm(Form1);
    WorkForm-&gt;Parent=Form1;
    WorkForm-&gt;FormStyle = fsMDIChild;
    WorkForm-&gt;Caption=&quot;Untitled Ladder&quot;;   
   } else
     {
       //mecker
     }
</code></pre>
<p>löschen:</p>
<pre><code class="language-cpp">if (WorkForm!=NULL) 
   {
     WorkForm-&gt;Release;
   }
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/785764</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/785764</guid><dc:creator><![CDATA[Mastrio]]></dc:creator><pubDate>Tue, 10 May 2005 14:01:34 GMT</pubDate></item><item><title><![CDATA[Reply to App schmiert ab, wenn MDI Child freigegeben wird. on Tue, 10 May 2005 17:16:13 GMT]]></title><description><![CDATA[<p>Wie kommst du auf <em>Release</em>?<br />
Sieh dir mal das Standard-MDI-Projekt an.</p>
<pre><code class="language-cpp">void __fastcall TMDIChild::FormClose(TObject *Sender, TCloseAction &amp;Action)
{
  Action = caFree;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/785953</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/785953</guid><dc:creator><![CDATA[Jansen]]></dc:creator><pubDate>Tue, 10 May 2005 17:16:13 GMT</pubDate></item><item><title><![CDATA[Reply to App schmiert ab, wenn MDI Child freigegeben wird. on Tue, 10 May 2005 19:08:34 GMT]]></title><description><![CDATA[<p>Das hab ich nicht, hab halt einfach in der Hilfe gesucht <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
<p>Bedankt!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/786056</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/786056</guid><dc:creator><![CDATA[Mastrio]]></dc:creator><pubDate>Tue, 10 May 2005 19:08:34 GMT</pubDate></item><item><title><![CDATA[Reply to App schmiert ab, wenn MDI Child freigegeben wird. on Wed, 11 May 2005 11:53:08 GMT]]></title><description><![CDATA[<p>*lol*</p>
<p><a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/52">@JANSEN</a></p>
<p>es macht keinen UNterschied, immer noch der gleiche Fehler !!!!!!!!!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/786478</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/786478</guid><dc:creator><![CDATA[Mastrio]]></dc:creator><pubDate>Wed, 11 May 2005 11:53:08 GMT</pubDate></item><item><title><![CDATA[Reply to App schmiert ab, wenn MDI Child freigegeben wird. on Wed, 11 May 2005 13:07:59 GMT]]></title><description><![CDATA[<p>Mastrio schrieb:</p>
<blockquote>
<p>*lol*</p>
</blockquote>
<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /></p>
<p>Mastrio schrieb:</p>
<blockquote>
<p>immer noch der gleiche Fehler !!!!!!!!!</p>
</blockquote>
<p>Dann liegt der Fehler wohl woanders!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!</p>
<p>Diese Zeile ist garantiert nicht gut:</p>
<p>Mastrio schrieb:</p>
<blockquote>
<pre><code class="language-cpp">WorkForm = new TForm(Form1);
</code></pre>
</blockquote>
<p>Gruß,</p>
<p>Alexander</p>
]]></description><link>https://www.c-plusplus.net/forum/post/786555</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/786555</guid><dc:creator><![CDATA[Alexander Kempf]]></dc:creator><pubDate>Wed, 11 May 2005 13:07:59 GMT</pubDate></item><item><title><![CDATA[Reply to App schmiert ab, wenn MDI Child freigegeben wird. on Wed, 11 May 2005 13:38:11 GMT]]></title><description><![CDATA[<p>Und was ist gut ?</p>
<p>WorkForm = new TForm(this); ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/786596</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/786596</guid><dc:creator><![CDATA[Mastrio]]></dc:creator><pubDate>Wed, 11 May 2005 13:38:11 GMT</pubDate></item><item><title><![CDATA[Reply to App schmiert ab, wenn MDI Child freigegeben wird. on Wed, 11 May 2005 13:42:55 GMT]]></title><description><![CDATA[<p>Mastrio schrieb:</p>
<blockquote>
<p>Und was ist gut ?</p>
<p>WorkForm = new TForm(this); ?</p>
</blockquote>
<p>Kommt drauf an, wer für die Zerstörung des Formulars zuständig sein soll.</p>
<p>Gruß,</p>
<p>Alexander</p>
]]></description><link>https://www.c-plusplus.net/forum/post/786600</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/786600</guid><dc:creator><![CDATA[Alexander Kempf]]></dc:creator><pubDate>Wed, 11 May 2005 13:42:55 GMT</pubDate></item><item><title><![CDATA[Reply to App schmiert ab, wenn MDI Child freigegeben wird. on Wed, 11 May 2005 13:50:26 GMT]]></title><description><![CDATA[<p>Und wem darf ich diese AUfgabe aufbürden?</p>
<p>Das hier:</p>
<p>WorkForm = new TForm(Application);</p>
<p>führt zum gleichen Fehler.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/786605</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/786605</guid><dc:creator><![CDATA[Mastrio]]></dc:creator><pubDate>Wed, 11 May 2005 13:50:26 GMT</pubDate></item><item><title><![CDATA[Reply to App schmiert ab, wenn MDI Child freigegeben wird. on Wed, 11 May 2005 14:04:58 GMT]]></title><description><![CDATA[<p>Mastrio schrieb:</p>
<blockquote>
<p>Das hier: (...) führt zum gleichen Fehler.</p>
</blockquote>
<p>Wie schon erwähnt liegt der Fehler ohnehin wohl woanders.<br />
Du wirst wohl nicht drum herum kommen, etwas mehr Deines Codes und/oder Deiner Programmstruktur (sofern<br />
vorhanden) zu verraten.</p>
<p>Gruß,</p>
<p>Alexander</p>
]]></description><link>https://www.c-plusplus.net/forum/post/786624</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/786624</guid><dc:creator><![CDATA[Alexander Kempf]]></dc:creator><pubDate>Wed, 11 May 2005 14:04:58 GMT</pubDate></item><item><title><![CDATA[Reply to App schmiert ab, wenn MDI Child freigegeben wird. on Wed, 11 May 2005 14:06:17 GMT]]></title><description><![CDATA[<p>hier ein Beispiel:</p>
<p>Du hast eine Parent-Form (typischerweise dein Hauptformular der Anwendung) und ein Kind-Form (fertig designed). Beim Klick auf einen Knopf im Parent, wird ein neues Kind erzeugt. Im OnClose des Kindfenstern musst du die Freigabe übernehmen.</p>
<pre><code class="language-cpp">// im Elternformular
// -&gt; das muss &quot;fsMDIForm&quot; im FormStyle haben
void __fastcall TForm1::NewFormClick(TObject *Sender)
{
  TFormChildWindow *Child = new TFormChildWindow(Application);
}

// im Kindformular
void __fastcall TFormChildWindow ::FormClose(TObject *Sender, TCloseAction &amp;Action)
{
  Action = caFree;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/786625</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/786625</guid><dc:creator><![CDATA[Sunday]]></dc:creator><pubDate>Wed, 11 May 2005 14:06:17 GMT</pubDate></item><item><title><![CDATA[Reply to App schmiert ab, wenn MDI Child freigegeben wird. on Wed, 11 May 2005 14:24:02 GMT]]></title><description><![CDATA[<p>So, hab jetzt den Fehler gefunden, das hier muss natürlich auch noch raus:</p>
<p>WorkForm-&gt;Parent=Form1;</p>
<p>Dann funzt es. Alles andere hat nix damit zu tun.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/786643</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/786643</guid><dc:creator><![CDATA[Mastrio]]></dc:creator><pubDate>Wed, 11 May 2005 14:24:02 GMT</pubDate></item></channel></rss>