From: luisllo AT alumni DOT uv DOT es (Luis) Newsgroups: comp.os.msdos.djgpp Subject: Urgent help, please Date: 26 Aug 2002 16:41:07 -0700 Organization: http://groups.google.com/ Lines: 20 Message-ID: <6124b64f.0208261541.4592f51c@posting.google.com> NNTP-Posting-Host: 80.25.146.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1030405268 4694 127.0.0.1 (26 Aug 2002 23:41:08 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: 26 Aug 2002 23:41:08 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com 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!