<?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[Programm stürzt bei if ab... VOR bedingung]]></title><description><![CDATA[<p>Hallo an alle.</p>
<p>Ziemlich komisch was so alles passeirt..</p>
<pre><code class="language-cpp">int WINAPI WinMain( HINSTANCE hInstance, [...])
{
    printf( &quot;vorher\n&quot; );

    if( regInfoWnd( hInstance ) )
        [...]

    printf( &quot;nachher\n&quot; );
}

bool regInfoWnd( HINSTANCE hInst )
{
    printf( &quot;zwischendrinn\n&quot; );
    bool retValue = false;
    //code
    return retValue;
}
</code></pre>
<p>Falls ihr denkt ich bekomme iene Ausgabe wie</p>
<pre><code>vorher
zwischendrinn
nachher
</code></pre>
<p>dann könnt ihr euch jetzt wundern den es kommt</p>
<pre><code>vorher
</code></pre>
<p>und dann kommt &quot;programm.exe funktioniert nicht mehr&quot;...</p>
<p>HÖ?</p>
<p>Kann wer helfen?</p>
<p>PS: GetLastError() zeigt bis nach vorher noch 0 an und regInfoWnd steht in einer headerdatei die am anfang eingebunden wird.</p>
<p>Dieser Fehler trat auf als ich eine neuere Headerdatei eingebunden habe, beide von mir geschrieben.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/205983/programm-stürzt-bei-if-ab-vor-bedingung</link><generator>RSS for Node</generator><lastBuildDate>Sun, 26 Apr 2026 09:59:34 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/205983.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 20 Feb 2008 07:54:56 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Programm stürzt bei if ab... VOR bedingung on Wed, 20 Feb 2008 07:54:56 GMT]]></title><description><![CDATA[<p>Hallo an alle.</p>
<p>Ziemlich komisch was so alles passeirt..</p>
<pre><code class="language-cpp">int WINAPI WinMain( HINSTANCE hInstance, [...])
{
    printf( &quot;vorher\n&quot; );

    if( regInfoWnd( hInstance ) )
        [...]

    printf( &quot;nachher\n&quot; );
}

bool regInfoWnd( HINSTANCE hInst )
{
    printf( &quot;zwischendrinn\n&quot; );
    bool retValue = false;
    //code
    return retValue;
}
</code></pre>
<p>Falls ihr denkt ich bekomme iene Ausgabe wie</p>
<pre><code>vorher
zwischendrinn
nachher
</code></pre>
<p>dann könnt ihr euch jetzt wundern den es kommt</p>
<pre><code>vorher
</code></pre>
<p>und dann kommt &quot;programm.exe funktioniert nicht mehr&quot;...</p>
<p>HÖ?</p>
<p>Kann wer helfen?</p>
<p>PS: GetLastError() zeigt bis nach vorher noch 0 an und regInfoWnd steht in einer headerdatei die am anfang eingebunden wird.</p>
<p>Dieser Fehler trat auf als ich eine neuere Headerdatei eingebunden habe, beide von mir geschrieben.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1459228</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1459228</guid><dc:creator><![CDATA[lippoliv]]></dc:creator><pubDate>Wed, 20 Feb 2008 07:54:56 GMT</pubDate></item><item><title><![CDATA[Reply to Programm stürzt bei if ab... VOR bedingung on Wed, 20 Feb 2008 08:37:07 GMT]]></title><description><![CDATA[<p>Solange du den Code von <code>bool regInfoWnd( HINSTANCE hInst )</code> nicht postest, wundere ich mich nicht <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61b.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_tongue"
      title=":P"
      alt="😛"
    /></p>
<p>greetz, Swordfish</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1459246</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1459246</guid><dc:creator><![CDATA[Swordfish]]></dc:creator><pubDate>Wed, 20 Feb 2008 08:37:07 GMT</pubDate></item><item><title><![CDATA[Reply to Programm stürzt bei if ab... VOR bedingung on Wed, 20 Feb 2008 08:38:04 GMT]]></title><description><![CDATA[<p>Ich gehe mal davon aus, dass dies nicht Dein echter Code ist.</p>
<p>Hast Du schon mal daran gedacht, das etwas mit einem der Übergabe Parameter nicht stimen könnte?<br />
Hast Du Dir den Callstack im Debugger beim Crash angesehen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1459247</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1459247</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Wed, 20 Feb 2008 08:38:04 GMT</pubDate></item><item><title><![CDATA[Reply to Programm stürzt bei if ab... VOR bedingung on Wed, 20 Feb 2008 09:02:24 GMT]]></title><description><![CDATA[<p>Ich habe wirklich pseudo Prozeduren genommen, allerdings ist in der ersten Zeile wirklich ein 'printf( &quot;|&quot; );' und es wird nicht ausgegeben...</p>
<p><a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/35992">@martin</a>: Da ich immer noch nciht mit dem Visual-Ding einwandfrei arbeiten kann, size ich noch im Notepad++, allerdings ist das auch kein hindernis, da ich mit deiner aussage</p>
<p>Martin Richter schrieb:</p>
<blockquote>
<p>Hast Du Dir den Callstack im Debugger beim Crash angesehen?</p>
</blockquote>
<p>nichts anfangen kann.</p>
<p>Ich werde nochmals versuchen, dieses Projekt in den VC 6 zu laden, aber ich glaube ich werde ihm hilflos ausgeliefert sein... Ich habe mir da so <a href="http://www.microsoft.com/msdownload/platformsdk/sdkupdate/psdk-full.htm" rel="nofollow">Updates</a> gezogen hoffe die werden helfen...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1459257</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1459257</guid><dc:creator><![CDATA[lippoliv]]></dc:creator><pubDate>Wed, 20 Feb 2008 09:02:24 GMT</pubDate></item><item><title><![CDATA[Reply to Programm stürzt bei if ab... VOR bedingung on Wed, 20 Feb 2008 11:15:57 GMT]]></title><description><![CDATA[<p>lippoliv schrieb:</p>
<blockquote>
<p>Ich werde nochmals versuchen, dieses Projekt in den VC 6 zu laden,</p>
</blockquote>
<p>Wie bitte? Hat sich die Sehkraft meiner Augen verändert? <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f62e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_open_mouth"
      title=":open_mouth:"
      alt="😮"
    /><br />
Heißt das, Du hast jetzt etwa Visual C++ 6 ?<br />
Ist zwar 'n betagter Oldie, aber immer noch sehr nützlich! <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44d.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_up"
      title=":+1:"
      alt="👍"
    /></p>
<p>Übrigens: Bevor Du mit VC 6 weiterarbeitest, ist es empfehlenswert, den letzten Service Pack zu installieren.</p>
<p>Was genau hast Du für eine Edition?<br />
Hast Du &quot;nur&quot; Visual C++ 6, dann reicht Dir Service Pack 6 (SP6).<br />
Hast Du dagegen Visual Studio 6 (enthält Visual Basic, C++, J++, InterDev usw.), dann solltest Du zuerst Service Pack 5 (SP5), und dann Service Pack 6 (SP6) aufspielen.</p>
<p>Und last but not least: Installiere die PSDK von Februar 2003, dies ist die letzte Version die von Microsoft offiziell für Version 6 unterstützt wird.</p>
<p>Damit hättest Du schon mal eine recht gute Ausgangsposition für Deinen weiteren Lern- bzw. Ausbildungserfolg <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="🙂"
    /><br />
Martin</p>
<p>Wenn ich schon bei den Tipps bin, hier noch weitere, die Dir evtl. nützlich sein könnten (bei mir haben sie damals viel geholfen):<br />
Visual C++ Tips and Tricks: <a href="http://www.catch22.net/tuts/vctips.asp" rel="nofollow">http://www.catch22.net/tuts/vctips.asp</a><br />
Win32 Tips and Tricks: <a href="http://www.catch22.net/tuts/tips.asp" rel="nofollow">http://www.catch22.net/tuts/tips.asp</a><br />
Win32 Tips and Tricks Teil 2: <a href="http://www.catch22.net/tuts/tips2.asp" rel="nofollow">http://www.catch22.net/tuts/tips2.asp</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1459348</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1459348</guid><dc:creator><![CDATA[Mmacher]]></dc:creator><pubDate>Wed, 20 Feb 2008 11:15:57 GMT</pubDate></item><item><title><![CDATA[Reply to Programm stürzt bei if ab... VOR bedingung on Wed, 20 Feb 2008 12:51:30 GMT]]></title><description><![CDATA[<p>Siehe mein anderer Post mit &quot;umstiegsschwierigkeit&quot; es läuft nicht... gar nicht...</p>
<p>Jedes Projekt hat über 20 Fehler und rund 10 Warnungen. Das meiste liegt an Headerdateien, die zu alt sind und ich aus MinGW übernommen habe, damit sie laufen, aber auch da gehts nicht...</p>
<p>Echt schlimm sitze immer noch mit Notepad++ rum... Aber es läuft wenigstens!</p>
<p>MFG und Danke für die Tipps, wenns mal läuft werd ich sie brauchen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1459393</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1459393</guid><dc:creator><![CDATA[lippoliv]]></dc:creator><pubDate>Wed, 20 Feb 2008 12:51:30 GMT</pubDate></item></channel></rss>