|
-
January 28th, 2000, 05:37 AM
#1
Creating Muti-threaded component in VB
Hi Friends,
Can anybody help me to create multi-threaded component using Visual Basic 6.0.
Is there any method to access the QueryInterface from VB.
Please send to me with this address [email protected]
-
January 28th, 2000, 12:18 PM
#2
Re: Creating Muti-threaded component in VB
As far as I know, VB only creates single-threaded objects. I know that if you put the COM object in MTS( Microsoft Transaction Server), the threading problem is solved.
-
August 30th, 2000, 04:16 AM
#3
Re: Creating Muti-threaded component in VB
You can use kernel32 dll API calls for Createthread,SetThreadpriority, ExitThread etc for implemneting mutlithreading. But I am not sure about the success.
-
September 1st, 2000, 08:09 AM
#4
Re: Creating Muti-threaded component in VB
It not possible (yet) to multi-thread in VB. I am not but in the next VB (7) it's possible to multithread as well as oop.
developer
-
September 27th, 2000, 03:30 AM
#5
Re: Creating Muti-threaded component in VB
You can create multi-threaded component by first creating Active-exe component.Make sure that for activex-exe project, threading model should be selected as thread per pool >1 in project properties. Now create the reference of that component in your form / component by calling Createobject method.
This will solve the problem for multi-threading
-
September 29th, 2000, 12:41 AM
#6
Re: Creating Muti-threaded component in VB
Hi nsundra,
U can create multithreaded objects in VB too. For this u have to create an active-exe project with thread per pool >1 in project properties. Then create an object of it using CreateObject method instead of new. This will create a mulithreaded object
-
November 5th, 2001, 05:03 AM
#7
Re: Creating Muti-threaded component in VB
MULTITHREADING WONT WORK AS U EXPECT WITH VB 6.0
tell me if u ever ever get a satisfing answer
Regards
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
|