Board index » delphi » Program crashing out of graphics mode under Windows NT 4.0
witwald...@optusnet.com.au (Witold)
![]() Delphi Developer |
Fri, 12 Dec 2003 17:11:18 GMT
|
witwald...@optusnet.com.au (Witold)
![]() Delphi Developer |
Fri, 12 Dec 2003 17:11:18 GMT
Program crashing out of graphics mode under Windows NT 4.0
I'm using Borland Pascal 7.01 and have written a program that crashes out
of graphics mode when it is run under Windows NT 4.0. The error message that has been reported to me is: The NTVDM CPU has encountered an illegal instruction. It seems that my program leaves the DOS window in which it was running in The program works just fine under Windows 95 and Windows 98. If anyone can suggest a remedy, or define why the problem occurs, please Note that I have a patched version of the runtime library to fix the I hope that someone will be able to help me out of this predicament. Witold |
Markus Hum
![]() Delphi Developer |
Sat, 13 Dec 2003 00:18:38 GMT
Re:Program crashing out of graphics mode under Windows NT 4.0QuoteWitold wrote: Markus |
Wito
![]() Delphi Developer |
Sat, 13 Dec 2003 16:28:49 GMT
Re:Program crashing out of graphics mode under Windows NT 4.0QuoteIn article <3B37645E.9000...@freenet.de>, Markus Humm <markus.h...@freenet.de> wrote: graphics mode to text mode for the final time. If GraphicsInitialized then As you can see, I do call CloseGraph. However, after looking at the sample Thanks for your response, Markus. I appreciate it. It may just have put me I'll report back what I find out as a result of my testing. Witold |
Huub van Doore
![]() Delphi Developer |
Sat, 13 Dec 2003 21:28:34 GMT
Re:Program crashing out of graphics mode under Windows NT 4.0Witold schreef: Quote
CloseGraph means shutting the whole graphics system down (= graph Since 'GraphicsInitialized' is your own boolean var or function, It seems to me that NT4 does not allow as much as the other two. Greetings. Huub. |
Wito
![]() Delphi Developer |
Sun, 14 Dec 2003 08:28:54 GMT
Re:Program crashing out of graphics mode under Windows NT 4.0In article <3B388E02.B5C94...@iae.nl>, Huub van Dooren <hvdoo...@iae.nl> wrote: Quote>CloseGraph means shutting the whole graphics system down (= graph in the Borland Pascal help file. One version calls RestoreCRTmode before calling CloseGraph, while the other doesn't. However, it was reported to me that both of them worked just fine, which might be expected based on your comments. Quote>It seems to me that NT4 does not allow as much as the other two. standard values, as the program works OK in text mode and gets into graphics mode OK and works OK in graphics mode. It's just the coming out of graphics mode where the problem seems to occur. Thanks for your comments, Huub. All the best, Witold |