OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
Run-Time Macro Control

See Also

Diagnostic groups can be controlled at runtime by using the control macros within your program or by directly modifying the group information within the debugger.

This group information is contained in a template class named TDiagGroup<TDiagGroupClass##Group>, where ##Group is the name of the group. This class contains a static structure Flags, which in turn contains the enabled flag and the threshold level. For example, to enable the group Group1, you would set the variable TDiagGroup<TDiagGroupClassGroup1>::Flags.Enabled to 1.