Tracing in MSVC++

Hi all,

This is probably a newbie question, but I'm not sure how to make TRACE (the
MSVC macro) work with HTTRACE, or at least get HTTRACE to write output to the
debug window in MSVC.

Simply putting 

int CHTMLParser::tracer (const char * fmt, va_list pArgs)
{
	TRACE(fmt, pArgs);
	return 0; 
}

doesn't seem to work so well.  I think it could be because HTTRACE defines
everything with _, which TRACE may not like, but all I can tell is that all the
pArgs get messed up before I can get sensible output.

Will.

Received on Thursday, 24 June 1999 13:26:38 UTC