Linker error like this means you need to link a missing .LIB
A search on Windows SDK \lib
directory gets you wmcodecdspuuid.lib
. Hence...
#pragma comment(lib, "wmcodecdspuuid.lib")
... some where on the source code (I prefer below #include
s) will do the trick.