delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/20/08:09:59

Date: Sun, 20 Oct 1996 13:47:34 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "Alexander V. Lukyanov" <lav AT video DOT yars DOT free DOT net>
Cc: T DOT W DOT Seddon AT ncl DOT ac DOT uk, djgpp AT delorie DOT com
Subject: Re: need advice on djgpp vs. Turbo C
In-Reply-To: <199610172118.BAA06122@video.yars.free.net>
Message-Id: <Pine.SUN.3.91.961020134230.29874E-100000@is>
Mime-Version: 1.0

On Fri, 18 Oct 1996, Alexander V. Lukyanov wrote:

> Are you serious? I don't think huge pointers can make life much easier
> in BC, since NO LIBRARY FUNCTIONS can take such pointers,

I don't think this is correct.  A huge pointer is just a 32-bit pointer, 
so any function which expects a far pointer should work.  It is true that 
if that function handles a buffer, you still cannot pass it a buffer or a 
data structure which is more than 64KB long, but that's all there is to 
it.

> I once tried to port a my unix program to dos using BC and huge
> pointers - it was a nightmare.

Nightmare: yes; impossible: no.

> So, my advice. If you don't want to bump into stupid limitations,
> use djgpp.

I can only second that.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019