Date: Sun, 23 Feb 1997 12:17:27 +0200 (IST) From: Eli Zaretskii To: Cesar Scarpini Rabak cc: djgpp AT delorie DOT com Subject: Re: DPMI error in SVAsyncInit - SVAsync Library In-Reply-To: <1.5.4.16.19970221120727.3607b64c@dmeasc.rc.ipt.br> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Fri, 21 Feb 1997, Cesar Scarpini Rabak wrote: > This behaviour only manifests with CWSDPMI, in MS-DOS box under Win3.1 it > doesn't occur. No wonder, only CWSDPMI treats memory locking problems seriously. > info.address = (int) address + (int) __djgpp_ds_alias; ^^^^^^^^^^^^^^^^^^^^^^ Shouldn't this be (int) &__djgpp_ds_alias ? I presume the code tries to lock the __djgpp_ds_alias, so it must use its *address*, right?