ציטוט:
נכתב במקור על ידי daMn
תנסה את זה..
קוד:
Declare Sub Sleep Lib "kernel32" Alias "Sleep" _
(ByVal dwMilliseconds As Long)
קוד:
Sub Sleep()
Sleep 1000
End Sub
אם זה יעבוד זה שנייה אחת, ככה ש3 שניות זה 3000
|
דבר ראשון תודה רבה.
דבר שני זה לא עובד , השגיאה שאני מקבל
קוד:
PInvokeStackImbalance was detected
Message: A call to PInvoke function 'SimonSay!Simon.Game::Sleep' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention and parameters of the PInvoke signature match the target unmanaged signature.