Assaf Stone wrote: > I do need to use certain packages - one package that I created, that > I load at runtime. I do want however for VCL, RTL, and all of the LMD > components to be a part of the EXE file.
But the package that you've created is *also* linked to the RTL and VCL packages, so you'll need to have them anyway, even if your EXE doesn't require them. (But if your EXE doesn't require them, then when you load your package, it will load the RTL and VCL packages, and you'll get a run-time error as LoadPacage detects multiple copes of the RTL and VCL units in your program.) > Doesn't that mean that I need to build with runtime? Can I have > everything in the EXE except for what I want to keep out of it? You can create your own all-inclusive package, which contains all the RTL and VCL unitsthat your program will need. Compile your program to use run-time packages, and in the edit box where you list the packages, include _only_ your single large package. The compiler will link to the units in that package instead of linking to Borland's packages. Next, change your run-time-loaded package so it only mentions your one all-inclusive package in its "requires" section. -- Rob ------------------------ Yahoo! Groups Sponsor --------------------~--> <font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12ha938n8/M=362329.6886308.7839368.1510227/D=groups/S=1705115362:TM/Y=YAHOO/EXP=1124694016/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 ">Fair play? Video games influencing politics. Click and talk back!</a>.</font> --------------------------------------------------------------------~-> ----------------------------------------------------- Home page: http://groups.yahoo.com/group/delphi-en/ To unsubscribe: [EMAIL PROTECTED] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/delphi-en/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

