記錄那些不該發生、卻真的發生的工程事件
void Delay(int iMilliSeconds) { int iStart; iStart = GetTickCount(); while (GetTickCount() - iStart <= iMilliSeconds) Application->ProcessMessages(); }