Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DLL Question
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00411011
Message ID:
00411043
Views:
12
>Anyone know how to supress the error messages in a VFP DLL.
>
>I have code in the Error Event to log the error. I then
>want to cancel the execution.
>
>However, my testing shows that the "OLE IDispatch error..."
>message appears BEFORE the Error Event is fired.
>
>Anyonw know how to get past this?

I've not heard of this happening. However, if the error occurs in the Init method, the Error event will not fire. To return error information to the client, look at the COMRETURNERROR() function.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform