Microsoft® SNA Server provides internal tracing macros that can be built into an application. These can be used to check the operation of the application during development. Compile-time options determine whether or not this tracing is included in object code; it should be compiled out when producing end-user products. Internal Tracing Macros and Controlling Internal Tracing describe the use of the tracing macros within application source code and the methods of controlling trace output using compile-time and run-time options.
Note Tracing must be initialized by the IHV DLL before any TRACEnn macros are used. Use the INITIALIZE_TRACING macro, listed in the TRACE.H header file, to initialize tracing. The best place to issue the INITIALIZE_TRACING call is at the start of the SNALinkInitialize routine.