Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why does Object close
Message
 
À
15/04/2002 10:16:59
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00644531
Message ID:
00645283
Vues:
12
>I didn't think it would stop until the user exited MapPoint or until I killed it programmatically. At least I have it working now. Thank you very much for the help.

No, if you create a thread you have to manage it. Threads that have UI on them can be difficult because you may have to manage a wait state while it's waiting on the user. In your case this probably doesn't matter as you just want to do the preprocessing on a seperate thread, then run the rest of the code interactively (ie. you can kill the thread).

Keeping the object publicly accessible allows you to access it either from the application main thread or from the thread you created. So it won't matter if the processing thread dies.
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform