Introduction - If you have any usage issues, please Google them yourself
You all might have used CTime or CTimeSpan to manipulate the system timer. Here is an article to show you how your system timer works. I will give you an idea of port communications behind the system clock manipulations. Those who are a little biased on hardware and software interfacing practices would find this article of great help.
Packet : 89346512basictime.zip filelist
BasicTime/
BasicTime/BaseTime.cpp
BasicTime/BaseTime.h
BasicTime/BasicTime.aps
BasicTime/BasicTime.clw
BasicTime/BasicTime.cpp
BasicTime/BasicTime.dsp
BasicTime/BasicTime.dsw
BasicTime/BasicTime.h
BasicTime/BasicTime.ncb
BasicTime/BasicTime.opt
BasicTime/BasicTime.plg
BasicTime/BasicTime.rc
BasicTime/BasicTimeDlg.cpp
BasicTime/BasicTimeDlg.h
BasicTime/Debug/
BasicTime/ReadMe.txt
BasicTime/res/
BasicTime/resource.h
BasicTime/res/BasicTime.ico
BasicTime/res/BasicTime.rc2
BasicTime/StdAfx.cpp
BasicTime/StdAfx.h