To make changing the clock a little easier with how I have my program set up, and mostly b/c I can I guess. What the heck is "bogus clock hacking"?
Ok I tried using SetSystemTime() but no luck atm. I got some code fom MSDN but I have never gotten any luck from their so call "helpful site" LOL.
I know it needs a int main but if I add one it still doesnt work for me. Can someone show me a way on how to us this line of code or maybe tell me what they mass up on so I can fixs it?
// SetNewTime - sets system time
// hour - new hour (0-23)
// minutes - new minutes (0-59)
// Return value - TRUE if successful, FALSE otherwise
BOOL SetNewTime(WORD hour, WORD minutes)
GetSystemTime(&st); // gets current time
st.wHour = hour; // adjusts hours
st.wMinute = minutes; // and minutes
if (!SetSystemTime(&st)) // sets system time