Some DirectShow Samples Break in Visual Studio 2005

[Note: This post applies to the Platform SDK for Windows Server 2003 SP1 and Server 2003 R2. These issues were fixed in the Windows SDK for Vista.]   Some of the DirectShow samples break if you install Visual Studio 2005 Beta 2. Most of the errors that I found fall into three categories: C4430: Missing type specifier. To conform…

2

unresolved external symbol ATL::AtlWinModuleInit

It took me a long time to track down these link errors: main.obj : error LNK2001: unresolved external symbol “long __stdcall ATL::AtlWinModuleInit(struct ATL::_ATL_WIN_MODULE70 *)” (?AtlWinModuleInit@ATL@@YGJPAU_ATL_WIN_MODULE70@1@@Z) main.obj : error LNK2001: unresolved external symbol “class ATL::CAtlBaseModule ATL::_AtlBaseModule” (?_AtlBaseModule@ATL@@3VCAtlBaseModule@1@A) The solution is to include atls.lib (for release builds) or atlsd.lib (for debug builds) in your linker dependencies. This…

1

DirectShow is now in the PSDK

DirectShow is now available in the Platform SDK. You can download the PSDK for Windows Server 2003 SP1 here: http://www.microsoft.com/downloads/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en Some release notes: You will still need to install the DirectX 9.0 SDK to build all the samples. The DirectShow samples build from the PSDK build environment using makefiles. We did not get the Visual Studio project files…

0

USB Video: Did you know…

…. that Windows XP Service Pack 2 supports USB video devices? For DirectShow applications, the USB video class driver works very much like the IEEE 1394 driver, msdv.sys, but there are some differences. You can read more here: Working with USB DV Video Devices.   This posting is provided “AS IS” with no warranties, and confers…

0

What happened to DirectShow?

You may have noticed that DirectShow was not included in the April 2005 update of the DirectX SDK. That’s because DirectShow is moving to the Platform SDK, starting with the Platform SDK for Windows Server 2003 Service Pack 1, which should be available soon. In the meantime, you can still download the DirectShow SDK from the…

0