TheApplication().TraceOn("C:\\temp\\trace.txt","Allocation","All"); TheApplication().Trace("Start!"); TheApplication().TraceOff();