Marcos
Fixes have been applied to both h323plus CVS and ptlib SVN
Simon
-----Original Message----- From: h323plus-bounces@lists.packetizer.com [mailto:h323plus-bounces@lists.packetizer.com] On Behalf Of Simon Horne Sent: Friday, 21 August 2009 8:27 AM To: 'Marcos Fábio Jardini'; 'h323plus' Subject: Re: [h323plus] Behavior on VideoInputDevice
Marcos
codecs.h is a DirectShow/COM internal archive, full of IDL macros, don't be referenced direct. Seems VS ambiguous 'codec.h' from DShow and 'codec.h' in h323plus_2008.sln
The quick solution is to make sure the c++ include directory order has ptlib and h323plus directory before the platform SDK. Going forward, the easiest solution is to rename codec.h in h323plus.
There is no "PWLIB_STATIC_LOAD_PLUGIN(DirectShow, PVideoInputDevice);" at the end of file. Probably source of out solutions projects can't find DirectShow PPluginDriver.
PWLIB_STATIC_LOAD_PLUGIN has been depreciated in the PTLib SVN for PPLUGIN_STATIC_LOAD. The plugin loading is now centralised in videoio.h. I will make this change so that directshow gets loaded.
Simon