Windows2003-3790/sdktools/trace/csharptracepack/examples-nonbuildenv/simpleexample
2020-09-30 16:53:55 +02:00
..
decode.bat First commit 2020-09-30 16:53:55 +02:00
make.bat First commit 2020-09-30 16:53:55 +02:00
readme.txt First commit 2020-09-30 16:53:55 +02:00
run.bat First commit 2020-09-30 16:53:55 +02:00
simpleexample.cs First commit 2020-09-30 16:53:55 +02:00
start_logger.bat First commit 2020-09-30 16:53:55 +02:00
stop_logger.bat First commit 2020-09-30 16:53:55 +02:00

This directory contains an example, SimpleExample.cs, that demonstrates software tracing in C#.

1. In order to use the example, the following need to be performed:
  a. If TraceEvent.dll is not already registered with the windows registry and the global cache, 
     execute ..\..\reg_com.bat
  b. Execute make.bat to produce the example application
  c. Execute start_logger.bat to start the logger for the example application
  d. Execute run.bat to run the example application
  e. Execute stop_logger.bat
  f. Execute decode.bat to format the log file produced by the example application

FmtFile.txt will contain the formatted messages.