I cannot compile my project, that uses MPEG2 DirectShow video encoder. I've included Wmcodecdsp.h, but when I compile project, Visual C++ gives undefined symbol error on CLSID_CMPEG2EncoderVideoDS. I've tried to add to project msmpeg2enc.dll, but linker can't link it doesn't have export table.
The error I get is about this:
CaptureGraph.obj : error LNK2001: undefined external symbol "CLSID_CMPEG2EncoderVideoDS