Hi,
I have this scenario (everything is vb6):
- The main program in an standard EXE that contain a MDI form with a button.
- each click on the button create a new form
- each form instantiate an ActiveX.Exe object (to simulate multiple threads)
- in each instance of the ActiveX.EXE I call an object (dll) that should do something. This dll can or cannot be installed on MTS. If is not installed on MTS, everything work fine; I can run as many instances of the ActiveX.EXE as I want (20+) and the dll will work for each instance. If the dll is installed into MTS I still can install any no of ActiveX.EXE as I want (20+) but the dll will work only for 8 of them in the same time. It seems that the other instances are frozen until some of the first 8 finish his job; then they begin to run but no more than 8 at a time.
In the end, this dll MUST run under MTS (will use transactions) and must run for around 50 instances simultan.
This limitation it's not dependent on the machine, I tried on diferent configurations and the limit is the same:8.
Any ideea?
Thank you,
Sorin
I have this scenario (everything is vb6):
- The main program in an standard EXE that contain a MDI form with a button.
- each click on the button create a new form
- each form instantiate an ActiveX.Exe object (to simulate multiple threads)
- in each instance of the ActiveX.EXE I call an object (dll) that should do something. This dll can or cannot be installed on MTS. If is not installed on MTS, everything work fine; I can run as many instances of the ActiveX.EXE as I want (20+) and the dll will work for each instance. If the dll is installed into MTS I still can install any no of ActiveX.EXE as I want (20+) but the dll will work only for 8 of them in the same time. It seems that the other instances are frozen until some of the first 8 finish his job; then they begin to run but no more than 8 at a time.
In the end, this dll MUST run under MTS (will use transactions) and must run for around 50 instances simultan.
This limitation it's not dependent on the machine, I tried on diferent configurations and the limit is the same:8.
Any ideea?
Thank you,
Sorin