Dear all
Do u know how to allocate a memory range
and the range is below 640k ??
Posted on 2002-03-26 04:21:35 by jordanc
The "standard" function would be "GlobalDOSAlloc". But since this is a 16-bit function, you cannot call it directly. You need a flat thunk, which is much trouble and only works in Win9x.

The DPMI function to allocate such memory cannot be used in windows.
Posted on 2002-03-26 10:03:26 by japheth
Hello,

just try GlobalAlloc(...)


Greetings, Nordwind 64
Posted on 2002-03-26 10:49:35 by Nordwind64