Is there any way to achieve multithreading inside MTS COM components 
Author Message
 Is there any way to achieve multithreading inside MTS COM components

hellooo everybody...

Here my requrirement is like this..

I call a MTS component method with some Id, MTS component will fetch  more
than one record from the database table and will call MTS component method
in threads parallally for all the fetched records..But the existing MTS
version does not support this...There must be some way to do this..

can anybody help me please...

thanks

arun



Sat, 12 Feb 2005 17:25:44 GMT  
 Is there any way to achieve multithreading inside MTS COM components
requirement is not very clear but CreateThread() wont work in the apartments
normally though is will if you call CoinitializeEx()
then lots of coding.

Please take a look at this article
MSDN\2001JAN\1033\period98.chm::/html/vbpj0298.htm

regards
del


Quote:
> hellooo everybody...

> Here my requrirement is like this..

> I call a MTS component method with some Id, MTS component will fetch  more
> than one record from the database table and will call MTS component method
> in threads parallally for all the fetched records..But the existing MTS
> version does not support this...There must be some way to do this..

> can anybody help me please...

> thanks

> arun



Sun, 13 Feb 2005 10:24:09 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Do MTS components support COM Exceptions?

2. Using CDaoDatabase/CDaoRecordset from inside an ATL/MFC COM Component

3. OCX control inside a COM component

4. OCX control inside a COM component

5. OCX control inside a COM component

6. COM component and MTS. Problems with the DLL when used in MTS environment.

7. VC6++: a Link error in a MTS component using ADO1.5

8. Failure to commit database inserts by child mts component

9. Holding a list within a transactional MTS component

10. Threading Model of MTS-based ATL components

11. Threading model for MTS components

12. Debug MTS Component in Windows 2000

 

 
Powered by phpBB® Forum Software