C++ MFC Naming threads so Procmon can see them
-
11-12-2019 - |
Question
Is it possible in MFC to give threads string names, so that other apps such as procmon, will dump out a more useful message, instead of just ThreadID #### exited, etc.
Also I'm using VC6 at the moment.
Thanks
Solution
Yes, you can by raising a special type of exception. Illustrated here.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow