Article View: borland.public.cppbuilder.nativeapi
Article #5327Re: process in memory
From: Jonathan Benedicto
Date: Mon, 19 Sep 2005 14:19
Date: Mon, 19 Sep 2005 14:19
11 lines
1420 bytes
1420 bytes
"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message news:432e5ed4$1@newsgroups.borland.com... > Use VirtualAlloc() to allocate a suitable amount of executable memory > (PAGE_EXECUTE access). You can then store executable instructions into > that > memory and call into it like any other function call. Thank you very much. Do you have any examples, or maybe somewhere that I can find out how to load a .exe file into the memory to execute it ? Jonathan
Technical Details
Message-ID:
<432ec891$2@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<432a4ce3@newsgroups.borland.com> <432e5ed4$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,81249344387d138e X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Jonathan Benedicto" <incorrect@no.server> Newsgroups: borland.public.cppbuilder.nativeapi References: <432a4ce3@newsgroups.borland.com> <432e5ed4$1@newsgroups.borland.com> Subject: Re: process in memory Date: Mon, 19 Sep 2005 10:19:25 -0400 Lines: 13 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 69.158.121.4 Message-ID: <432ec891$2@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1127139473 69.158.121.4 (19 Sep 2005 07:17:53 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail