How do I use the createthread API in VB, since everytime I create a function that this API runs, causes my program to crash. Could it be that only C++ can use createthread?
Printable View
How do I use the createthread API in VB, since everytime I create a function that this API runs, causes my program to crash. Could it be that only C++ can use createthread?
Here's a version that works in VB:
http://www.planet-source-code.com/vb...txtCodeId=4823
You are right, however. It is a very GPF-Prone process if you call other functions from within a function (or stuff like that).
Desaware has an intresting article about it:
http://www.desaware.com/articles/threadingL3.htm
(and if it doesn't work directly, it's in the "technical articles" section)