Information générale
Catégorie:
COM/DCOM et OLE Automation
Titre:
AccessViolation C++ client VFP EXE COM server
Versions des environnements
Network:
Windows 2003 Server
I have a C++ client application that accesses a VFP EXE COM server to retreive some data from a Firebird database.
The VFP EXE COM server exposes several VFP Procedures. The C++ Client is able to work with all of them except for one.
I have a C++ Try...Catch around the call to the COM server for this particular procedure. The Catch clause catches the COleDispatch Exception.
I have put a call to OutputDebugString on entry to this procedure to try to identify where the exception is occuring. I never get the output from that call. So, the exception must be occurring between the call to the COM server procedure, and entry to the procedrue.
COM servers are so difficult to debug.
This was all working before. I made a minor change in one of the other procedures in the COM server. That procedure is still working fine. I made no changes in the procedure that is failing.
Any idea?
Thanks,
Jim
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement