www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/08/22/08:12:17

Message-Id: <199608221159.HAA28853@borg.mindspring.com>
From: "Joshua CannonButcher" <lchandar AT mindspring DOT com>
To: "DJ Delorie" <djgpp AT delorie DOT com>, "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Subject: Re: RHIDE question
Date: Thu, 22 Aug 1996 07:58:54 +1000
MIME-Version: 1.0

Thank you for your support.  That was one of my other questions though, is
there going to be a version of the compiler or linker that is Multiple
Pass?  

I also have one other question:  

I have a file called FMIV.cc

In this file, I am Decaring a TListBox called FileList.  In another file
"deleteFiles.cc", I "TRY" to reference it like so:

extern TListBox	*FileList;

When the compiler goes to compile this file, it is telling me that my
initial declaration of this variable is external, which means, that YES at
the time, I am compiling it alone, I compile all the .CC files on the
command line by iteslef, and then when I link them, I put them all
together.  However, no matter what order I link them in, I always get a
GPF.  When I remove the external reference, the GPF goes away. 
Additionally, whether I try to *USE* the reference or not,it will give the
GPF.  I have tried it.  These classes (TListBox and TComboBox etc, are in
the JPTUI library).

Can you help me with this, the only way I am getting it to work now is by
passing the TListBox* as a parameter in a function called deleteFiles.


*ONE* Last thing, is there a C or C++ Standard function for obtaining free
and total disk space?  I would like to be able to do this.  The only
function I have been able to find so far is getdfree().  Which as we all
know is in the DOS.H header file, and at least on the Linux version of C,
this header is NOT included in the package.

Thanks in Advance...

Joshua

- Raw text -


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