I received this errors when trying to compile wince code:
Error 3 error LNK2019: unresolved external symbol "public: __thiscall CTransInPlaceFilter::CTransInPlaceFilter(wchar_t *,struct IUnknown *,struct _GUID const &,long *)" (??0CTransInPlaceFilter@@QAE@PA_WPAUIUnknown@@ABU_GUID@@PAJ@Z) referenced in function "private: __thiscall myFilter::myFilter(wchar_t *,struct IUnknown *,long *)" (??0myFilter@@AAE@PA_WPAUIUnknown@@PAJ@Z) myFilter.obj MyFilter
Error 4 error LNK2001: unresolved external symbol "public: virtual long __cdecl CTransformFilter::FindPin(wchar_t const *,struct IPin * *)" (?FindPin@CTransformFilter@@UAAJPB_WPAPAUIPin@@@Z) myFilter.obj MyFilter
Error 5 error LNK2001: unresolved external symbol "public: virtual long __cdecl CBaseFilter::JoinFilterGraph(struct IFilterGraph *,wchar_t const *)" (?JoinFilterGraph@CBaseFilter@@UAAJPAUIFilterGraph@@PB_W@Z) myFilter.obj MyFilter
Error 6 error LNK2001: unresolved external symbol "public: virtual long __cdecl CBaseFilter::QueryVendorInfo(wchar_t * *)" (?QueryVendorInfo@CBaseFilter@@UAAJPAPA_W@Z) myFilter.obj MyFilter
Error 7 fatal error LNK1120: 4 unresolved externals WINCE600_SDK MyFilter
I linked to project the necessary files like: strmbase.lib. I tried to see if strmbase.lib has c'tor for CTransInPlaceFilter (like error3), andI find it has, but different:
public: __thiscall CTransInPlaceFilter::CTransInPlaceFilter(unsigned short *,struct IUnknown *,struct _GUID const &,long *);
I can't cast wchar_t* to short*.
Is there a problem with my specific "strmbase.lib" or it's something I'm doing wrong?
Thank you!