Date: Sat, 10 Oct 1998 04:16:27 +0100 (BST) From: George Foot To: djgpp AT delorie DOT com Subject: Re: Problem with __djgpp_nearptr_enable() In-Reply-To: <361EBAFB.8CAC240A@cartsys.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com On Fri, 9 Oct 1998, Nate Eldredge wrote: > Erik Rodriguez Ruiz wrote: > > I want to access video memory to make some graphics, i don't have the > > problem with Win95 but with every NT machine is the same problem. > > Your pointer has to be set to 0xA0000 (note number of 0's), since it's a > linear address. There may be other problems, I did not look closely. I didn't see the original message, but doesn't __djgpp_nearptr_enable always fail on NT? Make sure you're checking the return value. -- george DOT foot AT merton DOT oxford DOT ac DOT uk xu do tavla fo la lojban -- http://xiron.pc.helsinki.fi/lojban/lojban.html