- // stdafx.cpp : source file that includes just the standard includes
- // trfAgent.pch will be the pre-compiled header
- // stdafx.obj will contain the pre-compiled type information
- #include "stdafx.h"
- void DoEvents(void)
- {
- MSG msg;
- // window message
- while (PeekMessage(&msg,NULL,NULL,NULL,PM_REMOVE))
- {
- TranslateMessage(&msg);
- DispatchMessage(&msg);
- }
- }