20 Aug
2009
20 Aug
'09
6:26 p.m.
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