🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #2666

Re: How to link programs which do not switch to full screen ?

#2666
From: Kenneth A. Kahn
Date: Tue, 22 Dec 1992 23:04
17 lines
1145 bytes
In <1992Dec22.193053.12880@cs.tu-berlin.de> Ernst Kloecker writes:
>Hi,
>
>I am using Microsoft C 6.00 on OS/2 1.32. Whenever I link a text mode OS/2
>program, it switches to full screen after being started. I assume I am linking
>with the wrong libraries.
>
>Which library do I have to link to make my program run in an ordinary OS/2
>window ?
>

You need to make your program Window Compatible.  To do this, in your linker
.DEF file add the following line

  NAME  progname  WINDOWCOMPAT

This will allow your program to run either full screen or in a VIO Window.
Technical Details
Message-ID: <19921222.150551.545@almaden.ibm.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!PKSMRVM.VNET.IBM.COM
References: <1992Dec22.193053.12880@cs.tu-berlin.de>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!PKSMRVM.VNET.IBM.COM
From: KENKAHN@PKSMRVM.VNET.IBM.COM (Kenneth A. Kahn)
Message-ID: <19921222.150551.545@almaden.ibm.com>
Date: Tue, 22 Dec 92 18:04:00 EST
Newsgroups: comp.os.os2.programmer
Subject: Re: How to link programs which do not switch to full screen ?
Organization: Staff of IBM Fellow - IBM Personal/370
Disclaimer: This posting represents the poster's views, not those of IBM
News-Software: UReply 3.0
X-X-From: KENKAHN@PKSMRVM.VNET.IBM.COM (Ken Kahn)
References: <1992Dec22.193053.12880@cs.tu-berlin.de>
Lines: 17