|
-
Jul 3rd, 2001, 12:08 AM
#1
Thread Starter
New Member
MultiThreading Problem
Hi ,
This is my first post to the forum, Hope would get the solutions asap.
I have two dlls
Dll A - Calls another dll (Dll B) in Loop for 5 times
both the dlls are in MultiUse and deployed on COM+ server
I have put in a message boxes at places to test the Multithreading property .
What I find is That they are executing sequentially . one Loop in Dll waits till Dll B returns the COntrol.
I require that Dll A should initiate a Thread and return the control
and all the threads Execute simultaniously ..
Can Anybody suggest a way out ??
Thanks in Advance..
Dheeraj
-
Jul 4th, 2001, 05:36 AM
#2
New Member
Your problem is that VB DLL's cannot create their own threads. They will run sequencially. A VB ActiveX EXE will run in its own process (so its own thread). If the class in the EXE is SingleUse then a new EXE will be loaded into its own process and run concurrently with the previous EXE's. However, EXE's cannot be placed into the MTS. You can call an EXE from a DLL within the MTS, though.
Hope this helps.
K.Soze
-
Jul 10th, 2001, 11:49 AM
#3
Hyperactive Member
You can create threads in .Net and beta 2 is now available. Just thought you might like to know.
That's Mr Mullet to you, you mulletless wonder.
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
|