Skip to main content
gamedev.net
🔒 Locked

CoCreateInstance problem

Started by Sawsan Emam 0 replies 750+ views
Original Post
Sawsan Emam
Sawsan Emam
Hi Everyone, i am trying to use CoCreateInstance to get an interface for a third party camira filter but the function return Class not registered here's the function call: hr1 = CoCreateInstance(CLSID_CAMERA, NULL, CLSCTX_INPROC, IID_IBaseFilter, (void **)&pIQ1); the value of hr1 = Class not registered so any suggestions what could be the problem thanx in advance,
MJP
MJP
Have you verified that CLSID is actually registered? You can use Oleview (which comes as part of the Windows Resource Kit) to do this pretty easily.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.