I think you are referring to a clock. Charles Petzold has two clock programs (digital and analog) in his book
Programming Windows, Edition 5. His clocks do hours, min, and secs, but you should not have too much trouble modifying it. I am sending you the executable of the digital clock I transcribed into MASM. If you are interested in the MASM code I wrote, I can send it also. It uses the GetLocalTime API, which is as accurate as your CPU's time clock is. Ratch
Attached File ( Number of downloads: 42 )
Login or
Register to download