🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Load EXE as DLL.

#12052
From: Cactus
Date: Wed, 31 Dec 2003 17:21
20 lines
1436 bytes
>
> Second: even if it truly is an EXE you can load it with LoadLibrary.
> However you will most likely have access violations if you use any memory
> from the main program in a function call to it (for instance a char*
passed
> as a calling argument).
>
> Exports from an executable are most often used by DLL's that the
executable
> loads, for instance the __CPPdebugHook export that the C++ exception
> handling system uses.
>

Thanks you.

Well, how ever, it is a way for EXE export a info table.
even it cannot export function.

Happy new year.
Technical Details
Message-ID: <3ff305aa$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3ff2ce98@newsgroups.borland.com> <3ff2dccb$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,a798b7bafe3b7623
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-12-31 09:40:14 PST
From: "Cactus" <a@b.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3ff2ce98@newsgroups.borland.com> <3ff2dccb$1@newsgroups.borland.com>
Subject: Re: Load EXE as DLL.
Date: Thu, 1 Jan 2004 01:21:46 +0800
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2615.200
NNTP-Posting-Host: 218.15.254.38
Message-ID: <3ff305aa$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1072891306 218.15.254.38 (31 Dec 2003 09:21:46 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail