delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/04/08:30:40

From: "Graeme Fenwick" <gfenwick AT BYESPAMprimex DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Documentation on Non-ANSI features, and Allegro problem!
Date: Mon, 4 Jan 1999 13:22:12 -0000
Lines: 23
X-Newsreader: Microsoft Outlook Express 4.72.2106.4
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
NNTP-Posting-Host: ppp47-70.dial.nildram.co.uk
Message-ID: <3690c0f6.0@mercury.nildram.co.uk>
X-Trace: 4 Jan 1999 13:24:06 GMT, ppp47-70.dial.nildram.co.uk
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi all!

I've got a problem with a fractal program I'm writing (hardly original, I
know, but it's practise). When I try and save the screen using the Allegro
save_bmp() function, if there isn't enough room on the disk, it seems to
lock up (at least, I hope it's not my code's fault!).
As far as I can tell, an obvious way round this would be to check there's
enough room on the disk first, but using ANSI code to do this would probably
require some inelegantly contrived solution and still end up being
nonportable.
There surely has to be a non-ANSI function to do this, somewhere in DJGPP's
library, but unfortunately I can't find any documentation in this area,
except possibly an Info file, which I can't get to load into the reader
(that's another story...). Any pointers?

--
============================================
Graeme Fenwick   |   gfenwick AT BYESPAMprimex DOT co DOT uk

  "Please remove BYESPAM filter when replying by mail"
                               -- WILLIAM SHAKESPEARE, Hamlet.


- Raw text -


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