Click here to Skip to main content
15,891,607 members

Comments by Wonixen (Top 2 by date)

Wonixen 23-Jun-10 8:56am View    
I am not in charge of the COM server throwing the exception, I am the client. The company writting the server will not change it (it is old technology). My Boss wants me to have my client behave correctly even after the server threw an exception, in a nutshell he does not want the client to crash because of this.
I've notice that when a OUT of PROC server throw an exception, it seems to always return the value:
0x80010105
Can I trust the COM plumbing to always return this error ? I could not find the answer on microsoft site.
Thanks
Wonixen 20-Jun-10 23:02pm View    
Yes, I know, I've read Effective COM. I've read a lot on COM, I've been doing C/C++ for 24 years. BTW, did you read the text ? because I show that the method call RaiseException, it has nothing to do with C++, it is a win32 api!!! Micropoche is in charge of both the win32 API & the COM API, so maybe they do catch structured exception and return some HRESULT
Thanks