Date: Wed, 19 Oct 94 11:09:11 EDT From: peprbv AT cfa0 DOT harvard DOT edu (Bob Babcock) To: A DOT APPLEYARD AT fs1 DOT mt DOT umist DOT ac DOT uk Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: Windows bug; an icon Reply-To: babcock AT cfa DOT harvard DOT edu > but a big Gnu C++ program that I frequently use from DOS, when run from > Windows 3.1 fails "general protection error". Once that big program did > start: it printed its first 2 lines of output, then locked tight, and I had > to press ctrl-alt-del to get out of it. When you run under Windows, you are using DPMI rather than VCPI. This may trigger bugs in your code which didn't get triggered under DOS, or it could trigger bugs in GO32's DPMI support. But perhaps the most likely problem is that the way GO32 programs got at video memory before DPMI was supported will not work under DPMI. Also, most of the graphics stuff doesn't work under DPMI. > Would it be useful to make a special Windows version of Gnu C?, which uses > Windows's paging system instead of the usual Gnu C paging system. Or, GO32 > could detect that it is running under Windows and use Windows's paging system > instead of its own paging system. Windows does provide the paging system for a GO32 program, which is a good reason not to run GO32 under Windows ;-(