I am using performance monitor to watch my applications thread count and I have noticed something strange:
When I create a CFileDialog object a new thread is spawned, but when this object is destroyed the thread stays. At first I created the object on the stack, then switched to the heap so I could handle (de)allocation manually. Neither approach seem to make a difference.
Any ideas as to why this is happening?
Since I have no handle to the thread, how can I kill it?