Re: How to log under W2K
"Alexander J. Oss" <[email protected]> Fri, 25 Oct 2002 21:33:44 -0400
| Newsgroups | gmane.comp.gcc.cgicc.general |
|---|---|
| Message-ID | <000701c27c8f$ba28d180$0101a8c0@puter> |
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: <[email protected]> To: <[email protected]> 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 [email protected] http://mail.gnu.org/mailman/listinfo/help-cgicc