home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / os2 / programm / 7179 < prev    next >
Encoding:
Internet Message Format  |  1992-12-22  |  1.1 KB

  1. Path: sparky!uunet!PKSMRVM.VNET.IBM.COM
  2. From: KENKAHN@PKSMRVM.VNET.IBM.COM (Kenneth A. Kahn)
  3. Message-ID: <19921222.150551.545@almaden.ibm.com>
  4. Date: Tue, 22 Dec 92 18:04:00 EST
  5. Newsgroups: comp.os.os2.programmer
  6. Subject: Re: How to link programs which do not switch to full screen ?
  7. Organization: Staff of IBM Fellow - IBM Personal/370
  8. Disclaimer: This posting represents the poster's views, not those of IBM
  9. News-Software: UReply 3.0
  10. X-X-From: KENKAHN@PKSMRVM.VNET.IBM.COM (Ken Kahn)
  11. References: <1992Dec22.193053.12880@cs.tu-berlin.de>
  12. Lines: 17
  13.  
  14. In <1992Dec22.193053.12880@cs.tu-berlin.de> Ernst Kloecker writes:
  15. >Hi,
  16. >
  17. >I am using Microsoft C 6.00 on OS/2 1.32. Whenever I link a text mode OS/2
  18. >program, it switches to full screen after being started. I assume I am linking
  19. >with the wrong libraries.
  20. >
  21. >Which library do I have to link to make my program run in an ordinary OS/2
  22. >window ?
  23. >
  24.  
  25. You need to make your program Window Compatible.  To do this, in your linker
  26. .DEF file add the following line
  27.  
  28.   NAME  progname  WINDOWCOMPAT
  29.  
  30. This will allow your program to run either full screen or in a VIO Window.
  31.