VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Heavy usage w/o DoEvents (the proper way)

by CR Hough (1 Submission)
Category: Miscellaneous
Compatability: Visual Basic 5.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (2 Votes)

Never use DoEvents again. This is a standard C/C++ Message Pump. Compare each of these three methods against each other (including DoEvents) and watch your CPU usage. The code is pretty self-explanatory I think.

Rate Heavy usage w/o DoEvents (the proper way)

Download Heavy usage w/o DoEvents (the proper way)

Download Heavy usage w/o DoEvents (the proper way) (4 KB)

Heavy usage w/o DoEvents (the proper way) Comments

No comments have been posted about Heavy usage w/o DoEvents (the proper way). Why not be the first to post a comment about Heavy usage w/o DoEvents (the proper way).

Post your comment

Subject:
Message:
0/1000 characters