Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

When we try to run our protected mode application under Windows 95 in the same DOS session as Btrieve, Windows tells us that protected mode cannot be entered. Any idea what might be the problem?

0
Posted

When we try to run our protected mode application under Windows 95 in the same DOS session as Btrieve, Windows tells us that protected mode cannot be entered. Any idea what might be the problem?

0

Yes. You are running into a limitation of Windows. Windows can only handle one dos-extended program at a time. Unfortunately, this limitation has been formalized in the DPMI spec. You will have the same problem in any DPMI implementation, such as Win 3.1, Win NT, or OS/2. The only solutions are to not use a dos extender for one of the applications; to not run in a DPMI environment (i.e. just boot Win95 to DOS mode); or to use the same dos extender for both applications (not very practical).

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123