Click to See Complete Forum and Search --> : How to use CreateThread


aky
August 8th, 2001, 12:29 AM
Hi All

Can anyone send me the sample code of API
CreateThread

Thanx

cksiow
August 8th, 2001, 02:17 AM
refer http://vblib.virtualave.net, there is a class vbMultiThreading that wraps all the relevant API.

I hope you at least know how to marshal an interface between 2 threads if you need to pass VB oject around before using the thread API, or else it will be very unstable because you violate COM rules.


HTH

cksiow
http://vblib.virtualave.net - share our codes