NT4/private/ole32/stg/docfile/tests/setdbg.cxx

30 lines
443 B
C++
Raw Normal View History

2001-01-01 00:00:00 +01:00
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
#include "tsupp.hxx"
void _CRTAPI1 main(int argc, char *argv[])
{
char ch[80];
StartTest("SetDbg");
CmdArgs(argc, argv);
#ifdef _INC_WINDOWS
if (fVerbose)
printf("HTASK is %X\n", GetCurrentTask());
#endif
for (;;)
{
printf("m to check memory, other to quit");
gets(ch);
if (ch[0] == 'm')
CheckMemory();
else
break;
}
EndTest(0);
}