🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.nativeapi
Article #12093

Re: Execute file from memory

#12093
From: Oliver
Date: Mon, 25 Nov 2002 16:41
13 lines
1537 bytes
Hi,

I can only answer for NT platform (you have to find out yourself for 9x):

well, the image loader does not have to know where a file is on disk. it just wants to know where it is in memory. anyway John is right that the image loader won't know about the encryption of your file ... that job is left to you right before calling the routines of the image loader.

Nebbett describes this procedure pretty nice in his Native API Reference ... either you get the book, or I send you just that example (it's C anyway!)

Oliver
---
ICQ: 281645
http://assarbad.org
Technical Details
Message-ID: <3de252c1$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-01!sn-xit-08!supernews.com!diablo.theplanet.net!newsfeed.icl.net!newsfeed.fjserv.net!skynet.be!skynet.be!fu-berlin.de!news.uni-x.net!newsgroups.borland.com!not-for-mail
References: <3de239af$1@newsgroups.borland.com> <3de24ef7$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f94dd,eb1786436ac8b934
X-Google-Attributes: gidf94dd,public
X-Google-ArrivalTime: 2002-11-25 09:15:51 PST
From: "Oliver" <Oliver@Assarbad.org>
Sender: "Oliver" <Oliver@Assarbad.org>
Reply-To: "Oliver" <Oliver@Assarbad.org>
Subject: Re: Execute file from memory
Newsgroups: borland.public.delphi.nativeapi
X-User-Info: 141.43.139.222 141.43.139.222    
References: <3de239af$1@newsgroups.borland.com> <3de24ef7$1@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3de252c1$1@newsgroups.borland.com>
Date: 25 Nov 2002 08:41:37 -0800
X-Trace: newsgroups.borland.com 1038242497 207.105.83.65 (25 Nov 2002 08:41:37 -0800)
Lines: 13
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-01!sn-xit-08!supernews.com!diablo.theplanet.net!newsfeed.icl.net!newsfeed.fjserv.net!skynet.be!skynet.be!fu-berlin.de!news.uni-x.net!newsgroups.borland.com!not-for-mail