Google Answers Logo
View Question
 
Q: Why do I get error 80010007 when my VB 6 app terminates (IDE only)? ( No Answer,   0 Comments )
Question  
Subject: Why do I get error 80010007 when my VB 6 app terminates (IDE only)?
Category: Computers > Programming
Asked by: battey-ga
List Price: $4.50
Posted: 25 Apr 2003 11:18 PDT
Expires: 25 May 2003 11:18 PDT
Question ID: 195405
My VB 6 app is a client to a VB-6-written in-proc ActiveX DLL.  When
the app terminates (after my Sub Main has already terminated) I get error
80010007 (below is the description from WinError.h).  This only
happens when running in the VB 6 IDE.  Why does this happen and how do
I fix it?
// MessageId: RPC_E_SERVER_DIED
// MessageText:
//  The callee (server [not server application]) is not available
//  and disappeared; all connections are invalid.  The call may
//  have executed.
#define RPC_E_SERVER_DIED               
_HRESULT_TYPEDEF_(0x80010007L)

Request for Question Clarification by mathtalk-ga on 26 Apr 2003 15:01 PDT
Hi, battery-ga:

At a guess there is a COM object being instantiated, but not set to
Nothing before the program terminates.  If this only occurs in the
IDE, it may be harmless.

Are you seeing this when you allow the program to run to a natural
exit in the IDE, or only when you "stop debugging"?

regards, mathtalk-ga

Clarification of Question by battey-ga on 30 Apr 2003 11:31 PDT
This happens when the app terminates normally.

I added code to set all COM objects to Nothing (which would happen
eventually anyway), and the behavior persists.
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy