TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Vic Dura
from: Leif Braeuer
date: 1994-11-14 00:01:26
subject: Msc V6.0 Native Progs

Hallo Vic!

 >> native OS2 programs?


 VD> Thanks for the reply Leif. The reason I ask, is that I would like to 
 VD> write simple textmode os2 progs, however I haven't been successful. I 
 VD> use LLIBCE (built for os2 & dos) and the following compile
command: "
 VD> cl  /FPc /W4 /AL /Lp test.c " followed by a simple " LINK
test; "
 VD> command.  If I do this for the code below, the .exe will cause a
 VD> switch to DOS  when I try to run it under os2. Do you have any
 VD> suggestions as to what  I'm doing wrong?

I think you need to bind your program in the last step. I think
BIND TEST.EXE SYSCALL0.LIB DOSCALLS.LIB -o TESTFAM.EXE

should solve your problems

Leif [Team OS/2]

--- FleetStreet 0.96wb

* Origin: (2:240/5200.13)
SEEN-BY: 12/2442 54/54 620/243 624/50 632/348 640/820 690/660 711/409 410 413
SEEN-BY: 711/430 807 808 809 934 942 949 712/353 623 713/888 800/1
@PATH: 240/5200 5002 5500 396/1 3615/50 229/2 12/2442 711/409 54/54 711/808
@PATH: 711/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™.