Subj : LINK386 Help
To : Don Guy
From : Fred Kantor
Date : Sun Dec 02 2001 03:23 pm
In a message dated 12-02-01, Don Guy said to All:
DG> I'm still picking away at producing an OS/2 text-mode
DG> application which uses a DOS executable as the stub.
DG> I ran into problems using the linker which accompanies Borland C++,
DG> and after some helpful input from others decided to have a go at
DG> using LINK386. It does not appear to like me however.
DG> Using the object files produced by Borland's compiler, it returns
DG> the following error:
DG> main.obj(main.cpp) : fatal error L1101: invalid object module
DG> Object file offset: 22d Record type: b0
If I may ask... did you make a program .DEF file?
Here is a .DEF example, from FWKFF.COM, which I wrote in 1999 as
two assembly-language programs, one for DOS 16-bit, the other for
OS/2 protected mode 32-bit:
----------------------------cut here, start FWKFF.DEF
NAME FWKFF WINDOWCOMPAT ; stays in window when called there
;DESCRIPTION "@#Frederick W Kantor:2.04a#@ FWKFF Fast Find." ; for
BLDLEVEL.EXE STUB 'stub_ff.exe' ; DOS version of program
PROTMODE
EXETYPE OS2
STACKSIZE 0x2000
----------------------------cut here
---
� testing... �
* Origin: FONiX Info Systems * Berkshire UK * www.fonix.org (2:252/171)