Hi, I want to set the system clock of my PDA (WM2003) to milliseconds. I use now setsystemtime but it seems that it doesn't set the millisecond field, (year/month/day/hour/min/sec is ok.) because if I call getsystemtime directly after this method it returns always 0. Anybody can help
My code:
SYSTEMTIME st; st.wYear = year; st.wMonth = month; st.wDay = day; st.wHour = hour; st.wMinute = minute; st.wSecond = second; st.wMilliseconds = millis; SetSystemTime(&st);
Visual FoxPro2
|