ThreadingModel registry value for that DLL is set to "Apartment".

My code starts the thread using following lines:

this.processorThread = new Thread(new ThreadStart(this.Run));
this.processorThread.SetApartmentState(ApartmentState.STA);
this.processorThread.Start();

Any other ideas/suggestions?

Thanks.

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to