Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!zaphod.mps.ohio-state.edu!rpi!julius.cs.uiuc.edu!psuvax1!psuvm!f0o From: F0O@psuvm.psu.edu Newsgroups: comp.lang.pascal Subject: Re: Graphics problem Message-ID: <91043.084631F0O@psuvm.psu.edu> Date: 12 Feb 91 13:46:30 GMT References: <59173@eerie.acsu.Buffalo.EDU> Organization: Penn State University Lines: 27 In article <59173@eerie.acsu.Buffalo.EDU>, ormohrbh@ubvmsd.cc.buffalo.edu (Richard Ohrbach) says: >I am having the following problem: > I developed a program on computer #1 (8088 machine) which contained >the following sequence of code: SetViewPort (#1); > write some stuff in this viewport > SetViewPort (#2); > write some stuff in this viewport >The program worked fine when initially developed, and it still does on >computer #2 (80386) as well as another 8086 machine, but the program does >not work on computer #1 or two other 8088 machines. The problem is this: >when ViewPort #2 is initialized, the program returns back GraphResult of >-11 ("GraphicsError"), and the stuff that is supposed to be done in >ViewPort #2 is done instead in ViewPort #1. So, ViewPort #2 is not >recognized. If you have not modified the program since it did work on computer #1, and if nothing has changed in computer #1's hardware configuration, then I'd say it's a problem with the hardware in the machine. You could also copy the TURBO.EXE file from your master disks to the hard disk. Maybe it was corrupted somehow. Good luck, [Tim]