Instructions for using TraceWin

What is TraceWin?

TraceWin is a Windows applet that displays C++ (TRACE, ATLTRACE, _RPTX) and .NET (Trace.Write, Trace.WriteLine) diagnostics in a separate window. You can use it to help debug your app without running it under the debugger. You can also save the output to a file for later use.

To install TraceWin.exe:

To use TraceWin in an MFC app:

To use TraceWin in a .NET app:

To see trace output:

To build TraceWin.exe and TraceWinListener.dll:

If all you want to do is use TraceWin, use the .exe and .dll provided. But if you want to modify either of these for whatever reason, or just see how they work, the source code is in ./src/cpp and ./src/cs. You can open the solution files in Visual Studio .NET, or just open a command prompt, cd to the appropriate source folder and type:

nmake
Make sure your PATH is set up to find Visual Studio .NET and NMAKE.

Happy Programming!
Paul DiLascia
www.dilascia.com