TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Rob Basler
from: Ed Beroset
date: 1994-07-25 10:10:00
subject: BOUND 16-bit FAPI

> If you want, you can actually bind a DOS EXE with a PM one, you
 > just make two versions of the program, one for DOS, one for OS/2,
 > then put a STUB statement (think that's what its called) in the DEF file of
 > your OS/2 program that names the DOS exe,

I've used this before, and it about drove me up the wall when I was using
Borland's 1.0 version of their OS/2 C++ compiler.  It seems that when
Borland's linker (same version) binds the DOS version of the program to the
OS/2 half, it doesn't correctly move the relocation table of the DOS
portion of the program.  The result, of course, is usually a VDM crash or
worse when the DOS part is run.  They may have fixed this in the 1.5
version, but I've since switched to C Set++.  I hope this message saves
somebody a bit of aggravation.

-> Ed <-

--- GEcho 1.01+

* Origin: The Mail Stop -- Durham, NC (1:3641/277)
SEEN-BY: 12/2442 54/54 620/243 624/50 632/348 640/820 690/660 711/409 413 430
SEEN-BY: 711/807 808 809 934 942 712/353 623 713/888 800/1
@PATH: 3641/277 1 3615/50 229/2 12/2442 711/409 54/54 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.