Hi,
I have an oCX ( say abc.ocx ). How can I get cLSID for it ( Programmatically )
I am using VC++. I have used GetClassFile which takes file name as [IN] parameter and gives clsid as [OUT] parameter, but it is failing.
I do not want to use manaual effort of exploring registry using regedit.

Thanks,
Onkar