delorie.com/archives/browse.cgi | search |
From: | Nick <jp_prongs AT yahoo DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Weird locking bug |
Date: | Wed, 12 Jun 2002 13:04:57 -0400 |
Organization: | MindSpring Enterprises |
Lines: | 6 |
Message-ID: | <3D077F39.E6AE5D4A@yahoo.com> |
References: | <3D067654 DOT 57A9B1B2 AT yahoo DOT com> <3d06d47a DOT sandmann AT clio DOT rice DOT edu> |
NNTP-Posting-Host: | a5.f7.82.37 |
Mime-Version: | 1.0 |
X-Server-Date: | 12 Jun 2002 17:05:15 GMT |
X-Mailer: | Mozilla 4.75 [en] (Win98; U) |
X-Accept-Language: | en |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Charles Sandmann wrote: > You didn't add the selector base address to the memory, so you are > trying to lock the DOS memory area (a bug in the code). _go32_dpmi_lock_code adds the CS base to the offset before calling __dpmi_lock_linear_region.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |