Activate Tracing
The Output window of the Microsoft Visual Studio displays trace messages.
The following table describes the tracing parameters. Use the trace parameters to activate tracing.
Parameter | Description |
---|---|
CdGetTraceFlags(unsigned int* pgrfTrace); | Retrieves the current trace settings for the Connect:Direct® API. |
CdSetTraceFlags(unsigned int grfTrace); | Sets new trace settings for the Connect:Direct API. |
CdSetTraceFile(LPCTSTR pszFilename); | Provides a file name to the tracing facility. If a file is defined, trace messages are written to the Output window and specified file. |