Главная страница | назад

Article #15528: BGI16 spawning BGI16 spawning ....

 Question and Answer Database

FAQ528C.txt   BGI16 spawning BGI16 spawning ....
Category   :IDE
Platform    :DOS
Product    :   BC++4.5x   BC++5.x   TC++Dos3.0


I've got a DPMI-16 application which uses BGI and it's trying
to spawn another DPMI-16 application which is using BGI
and it crashes. How do I do this?


You don't. BGI16.DLL doesn't like to be loaded more than
once, and GPFs when being loaded twice.

If you really need to communicate between one BGI program
and another, have a real mode application spawn both, and
pass the information through real mode callbacks to the real 
mode application.

7/2/98 10:32:32 AM

Last Modified: 01-SEP-99