Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error Calling a VFP Dll From VFP COM Server
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00809820
Message ID:
00809885
Views:
30
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...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform