Hello,
I am trying to use an OCX control in a console application and I have been doing some reading from the following post
http://www.daniweb.com/software-development/cpp/threads/98162/page1
In the following statement
HRESULT hr = CoCreateInstance(CLSID_Registration, 0, CLSCTX_ALL, IID__Registration, reinterpret_cast<void**>(&preg));
hr has the value Class is not licensed for use.
I tried registering the ocx and I still have the issue. How do i overcome this problem?
Thanks