Is there a way that i can convert this code from VB to C++? I am asking this in both the C++ and VB forum.
VB Code:
  1. Public Declare Function GetTickCount Lib "kernel32" () As Long
  2. Public Sub Pause(Interval As Long)
  3.     Dim Start
  4.     Start = GetTickCount
  5.     Do While GetTickCount < Start + Interval
  6.     DoEvents
  7.     Loop
  8. End Sub