TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Vitus Jensen
from: Vic Dura
date: 1994-11-10 09:29:00
subject: Msc V6.0 Native Progs

VJ>  VD> Is anyone out there using MSC v6.0 to generate 16-bit native OS2
VJ>  VD> programs?

VJ> Simetimes I use MSC v6.00a to write small utilities.  Only 
VJ> textmode and as bound exes (running under DOS & OS/2).  Why are 
VJ> you asking?

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

Thanks for your help.


-------sample test.c-----------
#include 
#include 
void main()
{
    printf("Hello world!\n");
}
-------------------------------

Regards, Vic Dura (victor.dura{at}woodybbs.com)
Rogersville, AL

---
 * RM 1.3 01752 * Lead, follow, or get out of the way.

--- QScan v1.131b / 01-0087

* Origin: Data Stream BBS 205-232-2400 28.8K Athens,Ala (1:3670/10)
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: 3670/10 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™.