>>>So my question now is: Can VFP build automation DLL or build library DLL?
>>
>>VFP can only construct in-proc COM servers as a .DLL; there's no C-style .DLL interface supported.
>
>Hi Ed,
>
>Can you see what is Sylvain's problem?
Myguess is that it's how he's handling errors in VB; ordinarily I'd trap the failed instantiation by wrapping the SET in an in-line error handler, but I'm far from a VB expert.