Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP8 DLL's
Message
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Title:
Miscellaneous
Thread ID:
00891725
Message ID:
00891801
Views:
24
>Why not just try to instantiate a class in the DLL and trap for errors?

With VFP 8.0, it's reasonable to use a TRY...CATCH block in this situation. Prior, however, I'd lean towards checking the registry just to assure that the DLL was registered, rather than having to change the error handler, just to evaluate this. More than anything else, it's a personal preference. Both techniques are valid.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform