- From: Raffaele Sena <raff@nuvomedia.com>
- Date: Thu, 24 Jun 1999 13:56:57 -0700
- To: "Will Sargent" <wsargent@best.com>, <www-lib@w3.org>, "Henrik Frystyk Nielsen" <frystyk@w3.org>
> > Have you tried to use the HTTrace_setCallback(...) to register your trace > function? > > Henrik > -- here is an example for a trace callback that send the output to the debug window: PRIVATE int trace_callback(const char * fmt, va_list pArgs) { char err[1024]; int ret; ret = _vsnprintf(err, sizeof(err), fmt, pArgs); OutputDebugString(err); return ret; } main() { ... HTTrace_setCallback(trace_callback); ... } -- Raffaele
Received on Thursday, 24 June 1999 16:56:46 UTC