Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!brutus.cs.uiuc.edu!rpi!ander From: ander@pawl.rpi.edu (Michael R. Primm) Newsgroups: comp.os.os2 Subject: Re: microEmacs v. 3.10 Summary: How to make a program run in a text window Keywords: WINDOWCOMPAT OS/2 .DEF files Message-ID: <1989Oct28.151913.9659@rpi.edu> Date: 28 Oct 89 15:19:13 GMT References: <32190@ucbvax.BERKELEY.EDU> <10670001@hpmcaa.mcm.hp.com> Organization: Rensselaer Polytechnic Institute, Troy NY Lines: 12 To make a program able to run in a PM Text Window, you have to do two things. a: Don't use any of the Vio calls which are not compatable with PM (VioSetFont, VioGetPhysBuf, VioGetState, etc) b: Create a .DEF file for the program, and include a minimum of NAME PROGRAMNAME WINDOWCOMPAT When linking the program, give the name of this file on the 'Definitions file' prompt (or just after the libraries 'spot' in the command line). -Mike Primm