Re: Include DLL's within an EXE



Bob Richardson 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.


create a resource file and add it to your project.
use this line..
ID_Name RT_RAW C:\your_project_Folder\DDS.DLL


--
Real Programmers Do things like this.
http://webpages.charter.net/jamie_5

.



Relevant Pages

  • Insert Icon into the Resource file
    ... dont have source code with me and i dont do, open .exe file in msdev ... only .exe file i have) and how can i capture resource file. ...
    (microsoft.public.vc.mfc)
  • Re: Resource file version mismatch, VFP 8
    ... Did you have an earlier version of FoxPro installed? ... Try compiling something very simple into an exe, ... >but when im trying to run exe file, this error occurs "Resource file ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Insert Icon into the Resource file
    ... dont have source code with me and i dont do, open .exe file in msdev ... and adding the icon to the resource file, ...
    (microsoft.public.vc.mfc)
  • wrrr ! resource
    ... How to "eat" an Icon from exe file, ... resource file. ...
    (microsoft.public.dotnet.languages.csharp)
  • RE: jbimp version resource
    ... there is no support in jbimp to specify version numbers in the ... dll generated nor is there support to add a win32 resource file to the dll ...
    (microsoft.public.dotnet.vjsharp)