16,023,224 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Visual Basic questions
View Javascript questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
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