Solved

Propagation Errors with COM

Posted on 1998-11-23
1
228 Views
Last Modified: 2013-11-25
We are having trouble passing error information across two COM boundaries. If you have :

VB calls ATL object1 which calls ATL object2 and ATL object2 throws an exception using

   return( Error( "Error Description", GUID_NULL, E_FAIL) );

We want an error to be propagated to the origionator (VB). The error number E_FAIL is available in VB but the  "Error Description" is lost somewhere along the way.

Any solutions? We are using MSVC6.0 and VB6.0
0
Comment
Question by:prb
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 13

Accepted Solution

by:
Mirkwood earned 100 total points
ID: 1178463
VB queries for an interface ISupportErrorInfo. Implement this interface.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question