coldfall wrote:
You can describe your solution(answer) by using C++、Windows、Process、Thread、Message Queue Or any other professional terms. Thx very much!
Wow. This bit makes the whole thing look like an exam question. I guess you didn't bother to use these 'terms' to tag your question. At least now I know you want to use C++ and not .NET.
theTime = CTime::GetCurrentTime();
if you are using MFC.