Thread: eVB and waiting
View Single Post
Old 07-24-03, 10:40 AM   #2 (permalink)
silentknight
Aximsite Elite
 
silentknight's Avatar
Addicted Member
 
Join Date: Jan 2003
Location: GR, Michigan
Posts: 3,380
Device: Nokia 6255i
Carrier: Alltel
Thanked 1 Time in 1 Post

Awards Showcase
Aximsite Active Silver Member Aximsite Veteran Staff Moderator Medal 
Total Awards: 3

sleep doesnt work ? ... hmm...
it works fine in eVC++ ..

Have you tried just a timeout routine? something like
this:

Sub Timeout(duration)
On Error Resume Next
StartTime = Timer
Do While Timer - StartTime < duration
'do nothing....
'in standard VB, I put a "doevents" in here...
Loop
End Sub


Note, this is my code from standard visual basic
I have not tried it in Embedded yet.... use
at your own risk... and dont time out too long..
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


My recent reviews:

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
silentknight is offline   Reply With Quote