|
-
Apr 17th, 2006, 09:45 AM
#1
Thread Starter
New Member
DoEvents issue
Hi,
I have a program that gets lots of packets constantly(winsock).
The problem seems to be:
if I don't use DoEvents in my data_arrival code the events queue grows(?) and the program might crash.
if I use DoEvents some of the events are cut in the middle (becuase an event arrives) and lost.
Is there a way to avoid these problems (assuming working in a single threaded VB application).
Thanks,
Gill.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|