The principle of using the kenel32.dll api in VB is the same,
Compilation environment: TC3.
The TC's own delay changes with a variety of performances with the machine.
My function should be better, I hope everyone will test it, give some advice.
#include float const SecPerFrame = 0.05; void Delay2 (double Times, float SecPerFrame) {int Running = 1; double Tmptime = (double) clock () / (double) CLOCKS_PER_SEC; double caculate = 0, delaying = SecPerFrame; while (Running && caculate