Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!sdd.hp.com!elroy.jpl.nasa.gov!hacgate!ashtate!keithm From: keithm@ashtate (Keith Mund) Newsgroups: comp.databases Subject: Re: From .EXE to a .BIN-file through EXE2BIN Keywords: dBASE, BIN, C Message-ID: <1991Jan7.235600.7504@ashtate> Date: 7 Jan 91 23:56:00 GMT References: <2756@charon.cwi.nl> Organization: Ashton-Tate, Inc., Torrance, CA Lines: 42 In article <2756@charon.cwi.nl> daan@cwi.nl (Daan Otten) writes: > [...] To speed up parts of my >Dbase IV v1.1 application I want to replace these parts by faster >equivalents written in C and compiled with MicroSoft C v4.0. >To load these parts by the Dbase's LOAD-command, the executables of >the C-programs have to be transformed in .bin-files. However, EXE2BIN >complains that it cannot do it. >Daan Otten >email: daan@cwi.nl "dBASE Power: building and using programming tools" P.L. Olympia, R. Russell Freeland, and Randy Wallin ISBN: 1-55519-021-9 Order from Ashton-Tate at: 1-800-437-4329 This book describes how to use C to create .BIN files for use with dBASE. Basically, the C startup code is replaced by something that allows .BIN conversion and understands the parameter passing conventions of dBASE. Some people are creating the files using Turbo C and no changes to startup code. I have not done this personally, but may be able to find some more on that (you specified MSC 4.0 though). There are some restrictions, expecially with use of library routines. Most every .BIN file that you could want has already been developed. The book referenced has a number of them. Mention has been made here of Tom Rettig's library being placed in public domain. The Ashton-Tate Forum on Compuserve (GO dBASE) and the Ashton-Tate BBS (free phone network [true] and free online time) have numerous .BIN files and other suggestions. My email address is: keithm@ashtate.a-t.com Keith Mund -- Keith Mund