TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Coridon Henshaw
from: Mike Bilow
date: 1995-12-30 20:18:52
subject: PM programs with Watcom C

Coridon Henshaw wrote in a message to All:

 CH> What's the trick to compiling PM programs with Watcom C that
 CH> don't bomb when the execute?  I have tried to compile both
 CH> my own and other's code, but all the resulting .EXEs either 
 CH> sys3175 on startup or, even worse, crash the system when they 
 CH> are minimized.

 CH> I'm using version 10.0 with no patches applied if that
 CH> matters.

Ha!  You should watch one of those things on the debugging kernel!  You
must apply the 10.0a patches at least.  (The current patch level is 10.0b,
which adds some very minor fixes over 10.0a.  Either one will work.)

The Watcom OS/2 startup code is seriously munged in the original release,
and is basically worthless if you do certain things in your program which
are not worth going into in detail.  It is possible to kludge up the linker
DEF file to make the executable run, but the patches to the compiler are
the proper solution to this.

You can get the patches free from Watcom on the Internet at
FTP.WATCOM.ON.CA, or from their BBS.  They are also available on Hobbes,
and even from me by FReq (1:323/107) or download (+1 401 944 8498):

C_A.ZIP      4934K  9-22-94  Watcom C/C++ v10.0 patch level A
C_B.ZIP       530K  1-11-95  Watcom C/C++ v10.0 patch level B
 
-- Mike


--- 
* Origin: N1BEE BBS +1 401 944 8498 V.34/V.FC/V.32bis/HST16.8 (1:323/107)
SEEN-BY: 270/101 620/243 711/401 409 410 413 430 808 809 934 955 712/407 515
SEEN-BY: 712/517 628 713/888 800/1 7877/2809
@PATH: 323/107 150 3615/50 396/1 270/101 712/515 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™.