Is it possible? Of couse I can always shell the regsvr32.exe command to register a DLL or OCX but the problem is that I have no way of knowing whether it suceeded or not.

Perhaps an API call would return a success flag?