|
-
April 2nd, 2003, 03:32 AM
#1
Problem with CoCreateInstance
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
-
April 2nd, 2003, 03:39 AM
#2
You can try to use regsvr32.exe to register the dll again.
-
April 2nd, 2003, 03:45 AM
#3
all directX-dlls or only the one for directShow??
-
April 2nd, 2003, 03:55 AM
#4
It should be the dll that contains IAMMultiMediaStream. Only in worst case, you may want to re-install DirectX.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|