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

Class not registered #28

Closed
oshuqair opened this issue Apr 24, 2022 · 2 comments
Closed

Class not registered #28

oshuqair opened this issue Apr 24, 2022 · 2 comments

Comments

@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

@LPBourret
Copy link
Contributor

closing, reopen if you encounter this issue still

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

2 participants