<?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[exe in exe ausgeben]]></title><description><![CDATA[<p>hallo,<br />
ich habe mal eine Frage.<br />
Ich habe eine exe als Ressource eingebunden.<br />
Wie kann ich diese jetzt ausgeben? Da gab es doch schon mal so nen Thread weiß noch einer den link? danke</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/225442/exe-in-exe-ausgeben</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Apr 2026 15:20:50 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/225442.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 23 Oct 2008 13:06:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to exe in exe ausgeben on Thu, 23 Oct 2008 13:06:08 GMT]]></title><description><![CDATA[<p>hallo,<br />
ich habe mal eine Frage.<br />
Ich habe eine exe als Ressource eingebunden.<br />
Wie kann ich diese jetzt ausgeben? Da gab es doch schon mal so nen Thread weiß noch einer den link? danke</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1603421</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1603421</guid><dc:creator><![CDATA[exerufer21]]></dc:creator><pubDate>Thu, 23 Oct 2008 13:06:08 GMT</pubDate></item><item><title><![CDATA[Reply to exe in exe ausgeben on Thu, 23 Oct 2008 13:31:26 GMT]]></title><description><![CDATA[<p>Du schreibst die EXE auf Festplatte und startest sie...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1603431</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1603431</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Thu, 23 Oct 2008 13:31:26 GMT</pubDate></item><item><title><![CDATA[Reply to exe in exe ausgeben on Thu, 23 Oct 2008 13:39:53 GMT]]></title><description><![CDATA[<p>wie schreibe ich sie auf die Festplatte??</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1603433</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1603433</guid><dc:creator><![CDATA[exerufer21]]></dc:creator><pubDate>Thu, 23 Oct 2008 13:39:53 GMT</pubDate></item><item><title><![CDATA[Reply to exe in exe ausgeben on Thu, 23 Oct 2008 13:40:32 GMT]]></title><description><![CDATA[<p>mit CreateFile</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1603434</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1603434</guid><dc:creator><![CDATA[ascda]]></dc:creator><pubDate>Thu, 23 Oct 2008 13:40:32 GMT</pubDate></item><item><title><![CDATA[Reply to exe in exe ausgeben on Thu, 23 Oct 2008 14:28:06 GMT]]></title><description><![CDATA[<p>ich habe das hier im Forum gefunden und so aufgerufen:</p>
<pre><code class="language-cpp">bool ExtractReSrcFile(const TCHAR* pszType, WORD wReSrcID, const TCHAR* pszLocation, HINSTANCE hInst)
{
    if(pszType == NULL || pszLocation == NULL)
       return (false);
    HRSRC hSrcFile = FindResource(hInst, MAKEINTRESOURCE(wReSrcID), pszType);
    if(hSrcFile != NULL)
    {
        HGLOBAL hSrcFileLoad  = LoadResource(hInst, hSrcFile);
        void*   pvSrcFileData = LockResource(hSrcFileLoad);
        size_t  stSrcFileSize = SizeofResource(hInst, hSrcFile);
        HANDLE  hReSrcFile    = CreateFile(pszLocation, GENERIC_WRITE, FILE_SHARE_READ, NULL, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL);
        if(hReSrcFile == INVALID_HANDLE_VALUE)
           return (false);
        WriteFile(hReSrcFile, pvSrcFileData, stSrcFileSize, NULL, NULL);
        CloseHandle(hReSrcFile);

        return (true);
    }
    return (false);
}
</code></pre>
<pre><code class="language-cpp">ExtractReSrcFile(TEXT(&quot;exe&quot;), IDR_EXE1, TEXT(&quot;exename.exe&quot;));
</code></pre>
<p>die Datei habe ich als Ressource hinzugefügt unter dem ordner &quot;exe&quot;<br />
Es funktionert, also ich sehe die Datei nur gleich nachdem die Datei da ist stürzt das programm ab. Es muss in der nähe von WriteFile und CloseHandle sein sagt der Debugger. Woran liegt das?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1603462</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1603462</guid><dc:creator><![CDATA[exerufer21]]></dc:creator><pubDate>Thu, 23 Oct 2008 14:28:06 GMT</pubDate></item><item><title><![CDATA[Reply to exe in exe ausgeben on Thu, 23 Oct 2008 18:14:54 GMT]]></title><description><![CDATA[<p>ist echt wichtig es passiert in WriteFile</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1603588</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1603588</guid><dc:creator><![CDATA[exerufer21]]></dc:creator><pubDate>Thu, 23 Oct 2008 18:14:54 GMT</pubDate></item><item><title><![CDATA[Reply to exe in exe ausgeben on Thu, 23 Oct 2008 19:10:04 GMT]]></title><description><![CDATA[<p>Rückgabewerte + GetLastError.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1603610</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1603610</guid><dc:creator><![CDATA[ascda]]></dc:creator><pubDate>Thu, 23 Oct 2008 19:10:04 GMT</pubDate></item><item><title><![CDATA[Reply to exe in exe ausgeben on Thu, 23 Oct 2008 19:14:07 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">pNumberOfBytesWritten [out, optional]

    A pointer to the variable that receives the number of bytes written when using a synchronous hFile parameter. WriteFile sets this value to zero before doing any work or error checking. Use NULL for this parameter if this is an asynchronous operation to avoid potentially erroneous results.

    This parameter can be NULL only when the lpOverlapped parameter is not NULL.

    For more information, see the Remarks section.
</code></pre>
<p>Jetzt kannst du dein virus oder dein wasauchimmer fertig machen</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1603611</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1603611</guid><dc:creator><![CDATA[Listing]]></dc:creator><pubDate>Thu, 23 Oct 2008 19:14:07 GMT</pubDate></item><item><title><![CDATA[Reply to exe in exe ausgeben on Sun, 26 Oct 2008 00:10:34 GMT]]></title><description><![CDATA[<p>Hallo.</p>
<p>Jede exe hat ihren eigenen Addressraum. In jedem Addressraum darf nur eine exe sein. CreateProcess()?</p>
<p>Gruß</p>
<p>Lars</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1604919</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1604919</guid><dc:creator><![CDATA[chezzmatazz]]></dc:creator><pubDate>Sun, 26 Oct 2008 00:10:34 GMT</pubDate></item></channel></rss>