Mail Archives: djgpp/2002/08/26/19:45:35
Hi all!
I'm using DJGPP and dpmi libray in a machine with Win2000. I
previously had it running under win98 Second Edition. When running
under win98 everytime I called the dpmi function:
__dpmi_meminfo mem;
__dpmi_allocate_memory(&mem)
It always gave as a result same value for mem.handle and mem.address.
I wrote a multi-threaded executive with a different data segment for
executive structures, being confident about this being the normal
behaviour of the function.
And now under Win2000 everytime I call the function I get different
values for mem.handle and mem.address, and this implies making a lot
of changes in my code. Why I'm getting different values for those
parameters?, is there a way to avoid this?
I really appreciate your help, I´m in big need of it!
Thanks a lot!
- Raw text -