I have a Problem with CoCreateInstance -> the following code is out of the msdn-example.


IAMMultiMediaStream *pAMStream;
result = CoCreateInstance(CLSID_AMMultiMediaStream, NULL, CLSCTX_INPROC_SERVER,IID_IAMMultiMediaStream, (void **)&pAMStream);

my "result"-value is REGDB_E_CLASSNOTREG

I don't know whats wrong, because i think all dll's are registered
Maybe I forgot somelthing to register ore something else...)

Can somebody help?

thx
Daniel