vc++ express and dshow - build environment

Dear everybody,

I have recently downloaded and installed Visual Studio Express, Microsoft PSDK, and DXSDK (dec 2005), and I'd like to build an application using DirectShow. I have set up the build environment according to the documentation (bin, lib, and include paths point to the psdk), and I'm linkining with Strmiids.lib and Quartz.lib with <dshow.h> included.

My problem is that there always remain some unresolved external symbols, which makes the compilation fail. I'm experiencing problems even the very first Microsoft dshow-example "How To Play a File" (see http://msdn.microsoft.com/library/default.asp url=/library/en-us/directshow/htm/howtoplayafile.asp ). To be more specific, the builder says that it is unable to resolve the externals "CoInitialize", "CoCreateInstance", and "CoUninitialize".

I have used dshow before, with VC++ 6.0, and older versions of dxsdk and I'm wondering, what could be going wrong this time

Thank you in advance.

Regards,

ML



Answer this question

vc++ express and dshow - build environment

  • NathanE

    BTW, CoInitialize CoCreateInstance CoUninitialize are located in ole32.lib.



  • vc++ express and dshow - build environment