Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

problem using uuids.h CLSID_VideoMixingRenderer9

3 views
Skip to first unread message

Tobias

unread,
Feb 6, 2007, 10:59:15 AM2/6/07
to
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

Michel Leunen

unread,
Feb 6, 2007, 3:44:57 PM2/6/07
to
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/
----------------------------------------

0 new messages