Date: Sat, 28 Mar 1998 10:39:39 -0800 (PST) Message-Id: <199803281839.KAA16489@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: "Nils Emil P. Larsen" , djgpp AT delorie DOT com From: Nate Eldredge Subject: Re: Can I split my EXE-file into a EXE-file and a OBJ-file? Precedence: bulk At 11:45 3/28/1998 +0100, Nils Emil P. Larsen wrote: >Can I split my EXE-file into a EXE-file and a OBJ-file? >It may be possible to move data from the EXE-file to a OBJ-file. I don't >care about the size of the OBJ, but I don't like that EXE-files are >greather than 50 KB. In other words, you want to dynamically load some part(s) of your code. It's possible, but IMHO not worth it. It won't be an `.obj' file, but instead the format of whatever dynamic linking method you choose to use. DJGPP has a scheme called DXE built in, but it's *extremely* simplistic and carries some heavy restrictions (the dynamic module cannot access symbols in either the main program or the standard library). The v2tk/ directory on Simtelnet has one called DLX; I haven't tried it but it's supposed to be very good. As far as I know, it doesn't have such restrictions. What bothers you about your EXE being large? I personally would *rather* have one large executable than a multitude of smaller files. Nate Eldredge eldredge AT ap DOT net