DoEvents is an extremely useful
statement which allows other programs to get a slice of the CPU processing
time. Unfortunately, VBCE 6.0 does not supply a DoEvents
statement. You can simulate it though with a few API
calls.
Special thanks to Richard
Whitaker for providing the source code. Richard is a partner in Vision
Software based in Macclesfield of the UK. He develops programs for
gardeners and embedded systems. The current project uses a Compaq CE
palm computer, used to command a miniature motor control system.
Declarations:
|