This calls a static function, and so can be used before any CIndentedTrace variables have been defined. This can be used together with serial numbers. There is another approach to tracing a multithreaded app. The member variable has the right name, so all the macros can be used in any class function. All the output they produce will have the same indent level, but this can be an advantage in a multithreaded application.
All demos are to be run from the development environment after a debug compile.
Tracing must be enabled. EarthWeb is a service of INT Media Group, Incorporated. Copyright 2001 INT Media Group, Incorporated. All Rights Reserved.