Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AccessViolation C++ client VFP EXE COM server
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
AccessViolation C++ client VFP EXE COM server
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Firebird
Application:
Desktop
Divers
Thread ID:
01583049
Message ID:
01583049
Vues:
72
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
Fil
Voir

Click here to load this message in the networking platform