Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!hplabs!hpfcdc!hpislx!ch
From: ch@hpislx.HP.COM (Chuck Heller)
Newsgroups: comp.windows.ms
Subject: Is windows 286/386 using expanded memory?
Message-ID: <3000001@hpislx.HP.COM>
Date: 15 Aug 89 15:33:36 GMT
Organization: HP Measurement Systems Operation - Loveland, CO
Lines: 28


How can I tell if MS-Windows is using expanded memory itself?

We have an MS-Windows application that uses expanded memory directly,
so we have to invoke it as

	win[386] /N our_application

since the /N will tell windows to NOT use expanded memory itself.
If windows tries to use expanded memory, we compete and crash.
If I could tell that windows was using expanded memory, then we could
set a flag and use only conventional.

I know that Excel uses expanded memory directly, so there must be some
answer.

As another thought, what does windows use expanded memory for, and can
we predict when it is going to use it?  I heard that it uses it for
swapping applications in & out.  If that is the only use, then certainly
our calls to CreatePen would not need to flush our expanded memory buffers,
whereas if windows might create the pen data structure in expanded memory,
then we would need to flush our expanded memory buffers before ANY windows
call.

Any insight would be appreciated.

Chuck Heller
Hewlett-Packard