Mail Archives: djgpp/1994/10/19/17:33:31
> 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 ;-(
- Raw text -