-
Multithreading... :-(
Hello,
I wrote a program that fires a couple of threads using the common CreateThread API call. Everything works just fine from the IDE. HOWEVER, after running the compiled program it I get an error when calling the thread. (tried ActiveX-EXE and Standard-EXE)
Does anyone know if this is a VB6 - sp5 fault ?
Thanks
-
I'd forget about multithreading and VB. You can do that with C++ or delphi.
-
VB does for some reason have a problem with multi threading. The easiest way to get around this is by using multiple activeX controls such as the Timer control as this will allow you to do multi threading in a way. Basically get several timers to fire off different function/API calls and they should run at the same time, independant of each other.
Hope this helps, if you need an example or a clearer explaination just say.
Grant French
[email protected]
-
Sure, but...
If you have an example that works, sure help me out !!
However, I use multithreading and it works perfectly !! (in the IDE)
My problem is at run-time : when the thread is launched, I get a GPF. Why ???? This must be a VB6 run-time fault, mustn' it ??,
Thanks