Exist an Api to register an OCX?
Posted on 2002-12-04 10:30:30 by DrBios

You must call and function inside the OCX. (IIRC, "DllRegisterServer")
Posted on 2002-12-04 11:08:31 by bazik
Or just do this:

ShellExecute regsvr32.exe "<your dll path>" /s

regsvr32 calls the DllRegisterServer function that Bazik mentioned, which means you don't have to worry about getting interfaces etc. The /s switch makes it silent.
Posted on 2002-12-04 21:34:21 by sluggy
thanks....that's what i was thinking
Posted on 2002-12-05 07:55:53 by DrBios