dkennington
Programmer
I have two pieces of equipment that run on different software and I need to sync them up.
I'm using VC++6 on Windows XP, and I need to do a time delay so that they alternate their task by a second or two.
I've tried normal time delays, except the programs always slowly get out of phase and then they end up trying to write/read a file at the same time and they crash.
The only way I can think of doing this is by using the current date and time on the computer. Except I have no idea how to do this? I'm not a programmer, so could you be very specific on what I need to type and include?
Please help,
Thanks,
Dave
I'm using VC++6 on Windows XP, and I need to do a time delay so that they alternate their task by a second or two.
I've tried normal time delays, except the programs always slowly get out of phase and then they end up trying to write/read a file at the same time and they crash.
The only way I can think of doing this is by using the current date and time on the computer. Except I have no idea how to do this? I'm not a programmer, so could you be very specific on what I need to type and include?
Please help,
Thanks,
Dave