How can I check if an OCX or DLL is already registered using API function.