| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Msc V6.0 Native Progs |
LB> >> native OS2 programs?
LB> VD> Thanks for the reply Leif. The reason I ask, is that I would like to
LB> VD> write simple textmode os2 progs, however I haven't been successful. I
LB> VD> use LLIBCE (built for os2 & dos) and the following
compile command: "
LB> VD> cl /FPc /W4 /AL /Lp test.c " followed by a simple
" LINK test; "
LB> VD> command. If I do this for the code below, the .exe will cause a
LB> VD> switch to DOS when I try to run it under os2. Do you have any
LB> VD> suggestions as to what I'm doing wrong?
LB> I think you need to bind your program in the last step. I think
LB> BIND TEST.EXE SYSCALL0.LIB DOSCALLS.LIB -o TESTFAM.EXE
LB> should solve your problems
Thanks again for the reply Leif. I solved the problem by building a new
os2 lib file: LLIBCEp.LIB and explicitly linking it:
LINK test.obj,,,llibcep
which so far is doing the job for the simple programs I have tested.
Regards, Vic Dura (victor.dura{at}woodybbs.com)
Rogersville, AL
---
* RM 1.3 01752 * FLUSH the incumbents, restore citizen government.
--- 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™.