Please let me know how OCX licenses work.
For an OCX I am getting the below error:
The below control is giving the below error. pvdtb60.ocx
CoCreateInstance of OLE control {FD5CA3F6-52B9-11D2-ABB1-0040054FC6FB} failed. Result code: 0x80040112
The control is already registered with regsvr32.
0x80040112 error code corresponds to CLASS_E_NOTLICENSED.
Please let me know, how the licenses in OCX work and what could be the hack for resolving this. The same program is working on a legacy XP machine and hence I picked all the license entries (from regedit, [HKEY_CLASSES_ROOT\Licenses]) to no avail.
The legacy application was VC6.0 (running on Windows XP properly), the new app is running on Visual Studio 2010.
Thanks.