You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
347 B
19 lines
347 B
#include "precomp.h"
|
|
#include "dutils.h"
|
|
#include <stdio.h>
|
|
|
|
void Trace(LPCTSTR szFormat, ...)
|
|
{
|
|
va_list ap;
|
|
|
|
TCHAR szMessage[512];
|
|
|
|
va_start(ap, szFormat);
|
|
StringCchVPrintf(szMessage, 512, szFormat, ap);
|
|
va_end(ap);
|
|
|
|
StringCchCat(szMessage,512,TEXT("\n"));
|
|
|
|
OutputDebugString(szMessage);
|
|
}
|
|
|