Malcolm, Certainly either C++ from Borland or M$ will generate the smallest footprint but the problem with the Borland offering is that you can't use it for commercial reasons.
I wrote a similar utility/loader in Delphi about 2 years ago which could launch EXE's and/or batch files and I've just looked and it is about 150Kb. If I can dig out the source you are welcome to it. Dave Crozier The secret to staying young is to live honestly, eat slowly, and to lie about your age -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Malcolm Greene Sent: 12 October 2006 15:54 To: [email protected] Subject: Development tool to create tiny loader for VFP app I'm looking for a recommendation on a development tool for creating a tiny, standalone EXE (no DLL runtimes) that I can use as an application loader for a VFP application. The loader can not be in VFP because the loader needs to update VFP runtimes before it starts the VFP application. I can not use a WSH script. WinBatch generates very large standalone EXE's (> 500K). If you have experience with any of the following, what's the smallest standalone EXE (no dependent DLL's) one can build with: 1. MS C++ 2. The "New" Borland Delphi or C++ via www.turboexplorer.com 3. RealBasic 2005 4. InnoSetup used to build a "loader" vs. setup (using InnoSetup's Pascal) 5. Another tool? If you're curious how complex the development tool I'm looking for needs to be, psuedo code for the loader I need to build follows my signature. Thanks! Malcolm // delete files listed in an optional text file if a file with loader's file name and .delete file extension exists read this .delete file one line at a time attempt to delete file listed on each line - ignore errors endif // safely copy *.*_ files to their *.* equivalents if the following files exist: vfp9r.dll_, vfp9enu.dll_ // make sure affected files are not in use if we can exclusive open the following files: vfp9r.dll, vfp9r.dll_, vfp9enu.dll, vfp9enu.dll_ copy vfpr9.dll_ to vfp9.dll copy vfp9enu.dll_ to vfp9enu.dll endif if the above file copies are successful delete files vfp9r.dll_, vfp9enu.dll_ endif endif // start the associated vfp app with loader's original command line run LoaderFile+"_".exe <original command line> [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

