Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error Calling a VFP Dll From VFP COM Server
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00809820
Message ID:
00809885
Vues:
29
It makes sense to me that it should work as well.

I figured out what was going wrong. I was using a 'SET LIBRARY TO' command in my INIT method. For some odd reason, the current directory is not the same as the calling COM server's current directory so it wasn't finding the library and the class doesn't know how to handle the error. The error doesn't fire off my 'PROCEDURE ERROR' routine in my DLL. I wrote some code in that routine which writes the error message and associated info to a text file via the STRTOFILE command yet the file never gets created. I wonder why that is...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform