Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: 80040154:Class not registered #18

Closed
mousumipaul opened this issue Apr 28, 2021 · 3 comments
Closed

Error: 80040154:Class not registered #18

mousumipaul opened this issue Apr 28, 2021 · 3 comments

Comments

@mousumipaul
Copy link

The exe generated after build does not run in windows 8.1. It gives the following error at runtime:
Error: 80040154:Class not registered

@LPBourret
Copy link
Contributor

Hi, yes most projects in this repo are built with a a dependency of at least Windows 10 build version 16299. See the SDK requirement on each sample in their respective readme file.

@oshuqair
Copy link

I am trying to run the VirtualCameraSample on windows 11 I have the windows SDK 10.0.22000.0 installed but yet am getting Class not registered on virtual camera start call
RETURN_IF_FAILED(spVirtualCamera->Start(nullptr));

any hints?

@LPBourret
Copy link
Contributor

Hi, yes probably because the vcam is not registered on the system. The sample requires 2 steps:

  • first register the virtual camera on the target system (registering the COM component in the virtual camera dll). This is done by compiling and installing the .msi
  • instantiate the virtual camera using an application: the app calls MFCreateVirtualCamera() using the CLSID of the COM component registered in step 1 followed by IMFVirtualCamera::Start())

my hunch is that step 1 is missing in your case resulting in that error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants