WaitForSingleObject in Framework 2.0??

Hi everyone,

I’ve got the following snippet of code (VB6, of couse). I wonder, how do I the same by means of Vb25k

Do

If i = giRefrescar Then

Refresh

i = 1

Else

i = i + 1

End If

Ejecucion (PrepararEjecucion)

Loop While WaitForSingleObject(hStopPendingEvent, CLng(giFrec)) = WAIT_TIMEOUT

We’ve available WaitForMultipleObjects with .Net but single one


Answer this question

WaitForSingleObject in Framework 2.0??