Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COM and MultiThreading
Message
De
22/02/2004 14:45:57
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
COM and MultiThreading
Divers
Thread ID:
00879746
Message ID:
00879746
Vues:
51
Hi
Here is the code that I use in my app and that code works just fine:

loProcessThread = New Thread(AddressOf ProcessSomething)
loProcessThread.IsBackground = True

loProcessThread.Start()

'Wait until some data will be ready to be use ...
Do
If llSomeDataAreProcessed Then
Exit Do
Else
Thread.Sleep(100)
End If
Loop

But, when I try to use the same code in a COM - it does nothing. My base class inherits System.EnterpriseServices.ServicedComponent .
Is it possible to use multithreading in COM? If yes, what should be done?

TIA
Semurg Enterprise
FRX2Any - where thinking is done for you
www.frx2any.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform