View Single Post
ישן 26-02-08, 18:35   # 10
stav
חבר בקהילה
 
מיני פרופיל
תאריך הצטרפות: Oct 2005
הודעות: 144

stav לא מחובר  

ציטוט:
נכתב במקור על ידי 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.
  Reply With Quote