PDA

Click to See Complete Forum and Search --> : Create Thread


terebi
Aug 8th, 2000, 12:58 AM
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?

V(ery) Basic
Aug 8th, 2000, 08:32 AM
Here's a version that works in VB:

http://www.planet-source-code.com/vb/scripts/ShowCode.asp?lngWId=1&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).

Crazy D
Aug 9th, 2000, 01:57 AM
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)