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

Was it helpful?

Solution

Yes, you can by raising a special type of exception. Illustrated here.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top