atl - HRESULT:0x80040154 for registered COM object -


i have probles call com object.

szprogid = imctrl.section hresult hr = clsidfromprogid(szprogid, &clsid); 

after execution, hr = s_ok, clsid = "clsid_section class".
when try create object, cocreateinstance returned error : "class not registered". although "imctrl.section" exist in registry.

hr = ::cocreateinstance(clsid, punkouter, dwclscontext, __uuidof(t), (void**)&p); 

same error other clases dll.

the problem not related 32-bit vs. 64-bit.
using utility software "depends.exe" found dll dependencies third-party dll, did not allow access object.


Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -