|
-
Jun 23rd, 2001, 12:07 PM
#1
Thread Starter
Addicted Member
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
-
Jun 23rd, 2001, 01:27 PM
#2
Frenzied Member
I'd forget about multithreading and VB. You can do that with C++ or delphi.
-
Jun 23rd, 2001, 03:26 PM
#3
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]
-
Jun 25th, 2001, 04:23 AM
#4
Thread Starter
Addicted Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|