Hi, we have the following problem:
We have a code that uses the "GetTickCount" method (the return value is the number of milliseconds that have elapsed since the system was started).
Since GetTickCount returns only a 32-bit number, after about 49 days, the counter wraps.
The solution we thoung is the following:
Use the "COleDateTime::GetCurrentTime", but the problem is that this method returns the value for example like: 9411.22222 (double variable)
and we need the value in DWORD so when we set the value in the variable we lost all the date after the '.', we will receive the value "9411".
How to resolve this?