"No registered class (Exception from hresult:0x80040154 (Regdb_e_classnotreg))"
Generally there are two kinds of circumstances, I have recently done projects have met the "
First: (Problems with the build platform)
Workaround:
In the project properties, set "build" = "target platform" to x86 instead of the default any CPU
Second: (The COM component used by the third-party component is not registered)
Workaround:
Registration component: regsvr32 +DLL/OCX/CPL's actual path
But sometimes it is reported that the module "C:\DsoFramer\dsoframer.ocx" has been loaded, but the call to DllRegisterServer failed with the error code 0x80070005.
This general situation is in Win7 64 bits of the computer will appear this error, insufficient authority: this time as long as the regsvr32 changed to Runas/user:administrator regsvr32 on it.
No class was registered (Exception from hresult:0x80040154 (Regdb_e_classnotreg))