LNK2019 error

hi evry one,
look at this code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
class B1:public CBaseVideoRenderer
{
	B1(LPUNKNOWN pUnk, HRESULT *phr):CBaseVideoRenderer(__uuidof(CLSID_TextureRenderer), 
                                    "Name", NULL, phr)
{
}
...
}

class C1
{
public:
      B1*   b1;
      C1()
      {}
      void void1()
      {
       HRESULT hr;
       ...
       b1 = new B1(NULL,&hr);
       }
}


when i call void1() in my code get this error:

error LNK2019: unresolved external symbol "public: __thiscall CBaseVideoRenderer::CBaseVideoRenderer(struct _GUID const &,char *,struct IUnknown *,long *)" (??0CBaseVideoRenderer@@QAE@ABU_GUID@@PADPAUIUnknown@@PAJ@Z) referenced in function "public: __thiscall B1::B1(struct IUnknown *,long *)" (??0B1@@QAE@PAUIUnknown@@PAJ@Z)

what is the solution?
Is CBaseVideoRenderer implemented somewhere ( and that somewhere linked properly ) ?
yse, <streams.h> and strmbasd.lib are liked.
Thanks alot guestgulkan,
this link was very usfull, and i solved problem with this.
the solution was setting the "Use Unicode Character Set " in "Character set".
Topic archived. No new replies allowed.