home *** CD-ROM | disk | FTP | other *** search
- Path: 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
-
- 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.
-