Thread View: borland.public.cppbuilder.multimedia
2 messages
2 total messages
Started by Tobias
Tue, 06 Feb 2007 15:59
problem using uuids.h CLSID_VideoMixingRenderer9
Author: Tobias
Date: Tue, 06 Feb 2007 15:59
Date: Tue, 06 Feb 2007 15:59
17 lines
1508 bytes
1508 bytes
when i try this the code below in my project a get link error "[Linker Error] Error: Unresolved external '_CLSID_VideoMixingRenderer9' referenced from c:\xxxxxxx\xxx.obj" but i use other guids from the file. Whats my problem? hr = CoCreateInstance(CLSID_VideoMixingRenderer9, 0, CLSCTX_INPROC_SERVER, IID_IBaseFilter, (void**) &pVmr); working code (guid from the same file) hr = CoCreateInstance(CLSID_FilterGraph, NULL, CLSCTX_INPROC_SERVER, IID_IGraphBuilder, (void **) &pGraph); //Tobias
Re: problem using uuids.h CLSID_VideoMixingRenderer9
Author: Michel Leunen
Date: Tue, 06 Feb 2007 20:44
Date: Tue, 06 Feb 2007 20:44
23 lines
1718 bytes
1718 bytes
Tobias wrote:
> hr = CoCreateInstance(CLSID_VideoMixingRenderer9, 0, CLSCTX_INPROC_SERVER,
> IID_IBaseFilter, (void**) &pVmr);
Just a guess: Since the CLSID_VideoMixingRenderer9 is from DirectX9, it
could be missing from the lib file if BDS doesn't ship with the Dx9 lib
files.
You could try to define this GUID yourself in your code and see if it
works.
GUID CLSID_VideoMixingRenderer9 = {0x51b4abf3, 0x748f, 0x4e3b, 0xa2,
0x76, 0xc8, 0x28, 0x33, 0x0e, 0x92, 0x6a};
HTH
Michel
--
----------------------------------------
Michel Leunen
mailto: see my homepage.
C++Builder, BCC5.5.1 Web site:
http://www.leunen.com/
----------------------------------------
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads