Where do I put the #include statement for the trace message header file?

The #include statement for the trace message header file must appear in the source file after the definition of the WPP_CONTROL_GUIDS macro and before any WPP macro calls.

If you are using a project-wide header file, put the #include statement for the trace message header file after the #include statement for the project-wide header file.