help-cgicc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [help-cgicc] How to log under W2K


From: Stephen F. Booth
Subject: RE: [help-cgicc] How to log under W2K
Date: Fri, 25 Oct 2002 23:50:24 -0400

I'm trying to remember now why I sad gLogFile must be an ofstream.  As
far as I remember only the << operators are used, which should work for
any ostream subclass.  I guess I need to review if an ostream is allowed
and then make the documentation clearer.

-Stephen

> -----Original Message-----
> From: address@hidden [mailto:address@hidden On
Behalf
> Of Alexander J. Oss
> Sent: Friday, October 25, 2002 9:34 PM
> To: address@hidden
> Subject: Re: [help-cgicc] How to log under W2K
> 
> If you take a look in CgiUtils.h, you'll see the line:
> 
> extern STDNS ofstream gLogFile;
> 
> If you look in the cgicc documentation under "cgicc File Members" for
> definitions of LOG and LOGLN, it mentions that "The debugging log is a
> user-specified ostream".
> 
> I suspect all you need to do is define gLogFile as a global ofstream
> somewhere.  (Is that a documentation bug, when it says "ostream"
rather
> than
> "ofstream"?)
> 
> ----- Original Message -----
> From: <address@hidden>
> To: <address@hidden>
> Sent: Friday, October 25, 2002 11:57 AM
> Subject: [help-cgicc] How to log under W2K
> 
> 
> Hi all,
> 
> I would like to enable logging under Windows 2000. I've therefore
defined
> DEBUG in the VC6 project for the compilation of the cgicc library, but
> this
> just results in an unresolved external symbol "(yadi yadi) gLogFile".
I
> assume
> logging works under POSIX OSs where the lib is created with make, but
how
> is
> that done under W2K ?!?
> 
> TIA,
> 
> CU Steve
> 
> PS: I see from the mail archive that there was an issue with the VC
.dsp
> file. If that is still open, I would be happy to provide my project
> file...
> 
> --
> +++ GMX - Mail, Messaging & more  http://www.gmx.net +++
> NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!
> 
> 
> 
> _______________________________________________
> help-cgicc mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/help-cgicc
> 
> 
> 
> 
> _______________________________________________
> help-cgicc mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/help-cgicc






reply via email to

[Prev in Thread] Current Thread [Next in Thread]