Yes, you get clock functionality from library (or maybe it's still in VC++ 6)
See here for a quick reference.
Check your MSDN help information in VC++ for what's actually supported in that compiler.
Consider moving into the 21st century with newer versions. VC++ 2008 Express is a freebie.
vmanes
Posting Virtuoso
1,914 posts since Aug 2007
Reputation Points: 1,268
Solved Threads: 228
Regrettably, all stuff does not bear a relation to the computer Real Time Clock device. Moreover, you can't directly access RTC in standard Windows user mode.
ArkM
Postaholic
2,001 posts since Jul 2008
Reputation Points: 1,234
Solved Threads: 348
In what modes can I acces it?
I think partially on device driver level or lower (HAL).
Did you need so low level really? The Windows without (as usually third-party and commercial) special software is not a real-time system. Your programs have no direct access to ALL hardware (except CPU in user mode ;) ) on Windows installations. Didn't you know that?
Why you need RTC direct access? May be Windows API or even RTL stuff is enough for your task?..
ArkM
Postaholic
2,001 posts since Jul 2008
Reputation Points: 1,234
Solved Threads: 348
It's not a true RTC access (even with RTC driver) because Windows threads sheduling adds unpredictable delays for your robot control process irrespective of its priority.
That's why Windows is not RT system...
ArkM
Postaholic
2,001 posts since Jul 2008
Reputation Points: 1,234
Solved Threads: 348
Arctic wolf, you didn't pay attention that I said about Windows thread sheduling. You can't garantee that your processing code continued immediatly after your wonderful driver gets data from the hardware port.
ArkM
Postaholic
2,001 posts since Jul 2008
Reputation Points: 1,234
Solved Threads: 348
Why Windows? Get DOS extender, WATCOM (freeware) compiler...
ArkM
Postaholic
2,001 posts since Jul 2008
Reputation Points: 1,234
Solved Threads: 348
I understand that all my "advices" are totally "light-weight" ones (I never made robot control systems)...
About good GUI: remember wonderful videogames implemented in DOS extender environments. Look at SDL game library, for example.
Apropos, Open WATCOM C++ is a cross-compiler (free now) so it's possible to implement all stuff in comfort Windows environment.
ArkM
Postaholic
2,001 posts since Jul 2008
Reputation Points: 1,234
Solved Threads: 348