I have an application for which the main thread apartment threading
must be static. This is since it calls a DLL which if I switch to
MTAThread it is very slow, and cannot run in a thread as static.
Now I want to change my console app to be a windows service and when
the service starts, it is always in a 'STARTING' mode. This is
primarily due to the eternal while loop. the while loop has of course
lots of sleeping in it.
Is there any way I can have my static thread program be executed, and
somehow communicate that yes, it has started?
thanks
Tim