>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