home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.misc
- Path: sparky!uunet!psgrain!hippo!ucthpx!physci.uct.ac.za!fearick
- From: fearick@physci.uct.ac.za (Roger Fearick)
- Subject: Re: Switching OS/2 windows<>fullscreen
- Sender: news@ucthpx.uct.ac.za (UCT News Admin.)
- Message-ID: <fearick.50.713723054@physci.uct.ac.za>
- Date: Thu, 13 Aug 1992 16:24:14 GMT
- References: <1992Aug7.185249.4620@hsv3.lsil.com> <1992Aug12.164512.7237@njitgw.njit.edu> <19682@plains.NoDak.edu>
- Organization: Physics Department, University of Cape Town
- Lines: 36
-
- In article <19682@plains.NoDak.edu> phaniraj@plains.NoDak.edu (V. Phaniraj) writes:
-
- >Using Microsoft FORTRAN 5.1, all the programs I compile for OS/2
- >switch a windowed OS/2 session to a full-screen one, and then return
- >to windowed mode once the application finishes running. I wrote
- >a little program that does nothing except shell to %OS2_SHELL,
- >and this works as a windowed--> full-screen switching program.
- >(requires access to command line though, not triggered by a
- >keyboard sequence). It would be interesting to check if this
- >session has direct access to the video hardware, which was mentioned
- >as one of the differences between windowed and full-screen sessions.
- >How would one test this ?
-
- The default behaviour of link.exe that you use for MS fortran 5.1 is to mark
- the exe file as NOTWINDOWCOMPAT. This can be changed to WINDOWCOMPAT, e.g by
- an appropriate statement in the .def file (I don't have the docs handy..)
- This means that when you start the program the os/2 loader detects that the
- program can only run in a full screen session (with full access to video
- etc....) and starts up ANOTHER session in which to run it. (you original
- windowed session will probably be iconised). So you're not actually
- switching between windowed and full screen sessions. There's a markexe.exe
- program that came with some of the microsoft stuff that will let you turn
- you Fortran app exe file into one that will run in a windowed session.
- For info, the 32 bit link386.exe that comes with os/2 defaults to a windowed
- os/2 session.
-
-
- >Raj
- >--
-
- Roger.
-
-
- Roger Fearick * Internet: fearick@physci.uct.ac.za
- Dept. of Physics *
- University of Cape Town *
-