Re: Include DLL's within an EXE
- From: erewhon@xxxxxxxxxx (J French)
- Date: Fri, 31 Mar 2006 08:35:59 GMT
On Thu, 30 Mar 2006 17:55:49 -0800, "Bob Richardson" <bobr at whidbey
dot com> wrote:
I finally got my DLL, written in C, useable in Delphi. The code is:
function SolveBoard(Deal: TDDDeal; Target, Solutions, Mode: integer;
FTPtr: pFutureTricks): integer; stdcall; external 'DDS.dll';
I'm now wondering if it is possible to include the DLL within the final EXE
file - somewhat like including a resource file within the EXE. Is that
possible? Where can I read up on it, if it is?
I realize that this would defeat one of the original purposes for DLL's -
namely, conserving disk space. But there are certainly benefits minimizing
the number of files associated with an app.
If you do that you'll need to use LoadLibrary and GetProcessAddress as
the DLL will not exist when your App starts
Not a major problem, but worth remembering
I've often thought it would be really handy having the option of
including DLLs in an EXE
.
- Follow-Ups:
- Re: Include DLL's within an EXE
- From: Nicholas Sherlock
- Re: Include DLL's within an EXE
- References:
- Include DLL's within an EXE
- From: Bob Richardson
- Include DLL's within an EXE
- Prev by Date: Re: TStringGrid.DrawCell - Not Updating The Correct Cell
- Next by Date: Info for component name.
- Previous by thread: Re: Include DLL's within an EXE
- Next by thread: Re: Include DLL's within an EXE
- Index(es):
Relevant Pages
|