🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #5319

Re: process in memory

#5319
From: Remy Lebeau (TeamB)
Date: Mon, 19 Sep 2005 06:39
12 lines
1248 bytes
"Jonathan Benedicto" <incorrect@no.server> wrote in message
news:432a4ce3@newsgroups.borland.com...

> Is it possible to create a process "in-memory"

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.


Gambit
Technical Details
Message-ID: <432e5ed4$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!newsread.com!newsprint.newsread.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <432a4ce3@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: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <432a4ce3@newsgroups.borland.com>
Subject: Re: process in memory
Date: Sun, 18 Sep 2005 23:39:58 -0700
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <432e5ed4$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1127112404 68.69.17.41 (18 Sep 2005 23:46:44 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!newsread.com!newsprint.newsread.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail