ic87

This might be a silly newbie question, but I'm trying to use some of the Debug functions

described in the (archived content of) DirectShow.

Particularly, I want to use DisplayType, which the documentation describes as

void DisplayType(
LPTSTR label,
const AM_MEDIA_TYPE *pmtIn
);
The docs say to use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

My code is unicode, and I get a linker error:

error LNK2019: unresolved external symbol "void __stdcall DisplayType(wchar_t *,struct _AMMediaType const *)"...

I guess my Q is, am I doing something wrong Is there not a unicode version of this function, or do I need to do something else to call it.


Re: DirectShow Development Debug - DisplayType with unicode

LGS

Perhaps something from this thread can help

http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=434825&SiteID=1





Re: DirectShow Development Debug - DisplayType with unicode

ic87

Thank you very much: really useful stuff.

I suspect it's a problem of "Compiling the filter unicode and the filter ansi (or vice versa)" as described in one of the links.