Multi-threaded client.
Posted: Wed Jul 21, 2004 11:50 am
Hi,
I'm trying to write a client (COM object) that uses the Texis API in a multi-threaded environment and I have some problems with error handling.
My understanding is that if I want to get the error description from Texis, I need to register a function via setmmsg. But then how do I know which thread triggered the error?
Do you have some guidelines on how I could do that?
Thanks,
/Tony.
I'm trying to write a client (COM object) that uses the Texis API in a multi-threaded environment and I have some problems with error handling.
My understanding is that if I want to get the error description from Texis, I need to register a function via setmmsg. But then how do I know which thread triggered the error?
Do you have some guidelines on how I could do that?
Thanks,
/Tony.