<?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[Ab wann laufen VC++6.0 Programme?]]></title><description><![CDATA[<p>Hallo</p>
<p>Ich habe ein MFC-Programm mit dem VC++6.0 geschrieben.<br />
Nachdem ich eine Funktion die es erst ab Win98 gibt dynamisch lade, wenn es diese gibt, startet das Programm unter Window95a immer noch nicht, Fehler: Exportfehler in mfc42.dll:65xx</p>
<p>Weiß wer ab wann mfc42.dll(Version für 6.0) in welchem Windows drin war?<br />
Wie sieht es rechtlich aus wenn ich einfach die notwendigen Dateien(mfc42.dll,msvcrt.dll,usw..) meinem Programm beilege?</p>
<p>Danke für die hilfe<br />
schönen Tag noch<br />
Tristan</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/5739/ab-wann-laufen-vc-6-0-programme</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Apr 2026 13:41:26 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/5739.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 11 May 2003 11:57:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Ab wann laufen VC++6.0 Programme? on Sun, 11 May 2003 11:57:00 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>Ich habe ein MFC-Programm mit dem VC++6.0 geschrieben.<br />
Nachdem ich eine Funktion die es erst ab Win98 gibt dynamisch lade, wenn es diese gibt, startet das Programm unter Window95a immer noch nicht, Fehler: Exportfehler in mfc42.dll:65xx</p>
<p>Weiß wer ab wann mfc42.dll(Version für 6.0) in welchem Windows drin war?<br />
Wie sieht es rechtlich aus wenn ich einfach die notwendigen Dateien(mfc42.dll,msvcrt.dll,usw..) meinem Programm beilege?</p>
<p>Danke für die hilfe<br />
schönen Tag noch<br />
Tristan</p>
]]></description><link>https://www.c-plusplus.net/forum/post/27919</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/27919</guid><dc:creator><![CDATA[Tristan]]></dc:creator><pubDate>Sun, 11 May 2003 11:57:00 GMT</pubDate></item><item><title><![CDATA[Reply to Ab wann laufen VC++6.0 Programme? on Sun, 11 May 2003 13:05:00 GMT]]></title><description><![CDATA[<p>Zeig mal wie du function dynamisch lädst</p>
]]></description><link>https://www.c-plusplus.net/forum/post/27920</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/27920</guid><dc:creator><![CDATA[CMatt]]></dc:creator><pubDate>Sun, 11 May 2003 13:05:00 GMT</pubDate></item><item><title><![CDATA[Reply to Ab wann laufen VC++6.0 Programme? on Sun, 11 May 2003 13:06:00 GMT]]></title><description><![CDATA[<p>Das ist die Release Version von der Du sprichst oder ?</p>
<p>Devil</p>
]]></description><link>https://www.c-plusplus.net/forum/post/27921</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/27921</guid><dc:creator><![CDATA[phlox81]]></dc:creator><pubDate>Sun, 11 May 2003 13:06:00 GMT</pubDate></item><item><title><![CDATA[Reply to Ab wann laufen VC++6.0 Programme? on Sun, 11 May 2003 13:11:00 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/905">@CMatt</a></p>
<blockquote>
<blockquote>
<p>Zeig mal wie du function dynamisch lädst</p>
</blockquote>
</blockquote>
<p>Wenn ich AlphaBlend statisch linke bekomme startet das Programm nicht weil bei unter Win98 keine msimg32.dll gibt. Also schau ich ob es Win98 ist und wenn dann lade ich die Library und hohle die Funktion, und rufe diese dann auch nur auf:<br />
Wenn dich das echt interessiert:</p>
<pre><code class="language-cpp">typedef bool (*alpha_proc)(  HDC hdcDest,                 // handle to destination DC
  int nXOriginDest,            // x-coord of upper-left corner
  int nYOriginDest,            // y-coord of upper-left corner
  int nWidthDest,              // destination width
  int nHeightDest,             // destination height
  HDC hdcSrc,                  // handle to source DC
  int nXOriginSrc,             // x-coord of upper-left corner
  int nYOriginSrc,             // y-coord of upper-left corner
  int nWidthSrc,               // source width
  int nHeightSrc,              // source height
  BLENDFUNCTION blendFunction  // alpha-blending function); 
);

alpha_proc pAlpha_proc=NULL;
HMODULE h;

    OSVERSIONINFO osvi;
    osvi.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
    GetVersionEx (&amp;osvi);
   bIsWindows98orLater = 
   (osvi.dwPlatformId == VER_PLATFORM_WIN32_WINDOWS) &amp;&amp;
   ( (osvi.dwMajorVersion &gt; 4) ||
   ( (osvi.dwMajorVersion == 4) &amp;&amp; (osvi.dwMinorVersion &gt; 0) ) );

   if(bIsWindows98orLater)
   {
        h = LoadLibrary(&quot;msimg32.dll&quot;);
        alpha_proc pAlpha_proc = (alpha_proc)GetProcAddress(h, &quot;AlphaBlend&quot;);
        if( pAlpha_proc == NULL)  ::MessageBox(0,&quot;AlphaBend in msimg32.dll konnte nicht gefunden werden.&quot;,0,0);

// Aufruf

        if( pAlpha_proc == NULL) 
            pAlpha_proc (hdc,x,y, bm.bmWidth, bm.bmHeight, hdcMem, 0,0, bm.bmWidth,bm.bmHeight, bf);
   }
</code></pre>
<p>@devil81<br />
Ja ist die Release Funktion:<br />
Lieg doch daran das bei Win95a die mfc42.dll in Version 4 vorliegt und später immernoch so hieß obwohl version 6.0 drin ist.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/27922</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/27922</guid><dc:creator><![CDATA[Tristan]]></dc:creator><pubDate>Sun, 11 May 2003 13:11:00 GMT</pubDate></item><item><title><![CDATA[Reply to Ab wann laufen VC++6.0 Programme? on Sun, 11 May 2003 13:40:00 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">if( pAlpha_proc == NULL)  ::MessageBox(0,&quot;AlphaBend in msimg32.dll konnte nicht gefunden werden.&quot;,0,0);
// Aufruf

        if( pAlpha_proc == NULL) 
            pAlpha_proc (hdc,x,y, bm.bmWidth, bm.bmHeight, hdcMem, 0,0, bm.bmWidth,bm.bmHeight, bf);
</code></pre>
<p>Das sollte denk ich mal anders heissen oder?<br />
if( pAlpha_proc == NULL) =&gt; hast du 2mal drin...</p>
<p>Hab dir wahrscheins net geholfen, aber mach das mal weg...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/27923</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/27923</guid><dc:creator><![CDATA[brain-death]]></dc:creator><pubDate>Sun, 11 May 2003 13:40:00 GMT</pubDate></item></channel></rss>