I've updated the SDK files to the last version, using the SDK v1.2 and the source code of the last VDub version i have : the 1.10.5-test6.
With other code, the following is added :
vdplugin.h
Code:
typedef bool (VDXAPIENTRY *VDXShowStaticAboutProc)(VDXHWND parent);
typedef bool (VDXAPIENTRY *VDXShowStaticConfigureProc)(VDXHWND parent);
...
struct VDXPluginInfo {
...
VDXShowStaticAboutProc mpStaticAboutProc;
VDXShowStaticConfigureProc mpStaticConfigureProc;
}
videofilter.h
Code:
template<class T>
class VDXVideoFilterDefinition : public VDXFilterDefinition {
public:
VDXVideoFilterDefinition(const char *pszAuthor, const char *pszName, const char *pszDescription) {
...
mpStaticAboutProc = T::StaticAbout == VDXVideoFilter::StaticAbout ? NULL : VDXStaticAboutConfigureAdapter<T::StaticAbout>;
mpStaticConfigureProc = T::StaticConfigure == VDXVideoFilter::StaticConfigure ? NULL :VDXStaticAboutConfigureAdapter<T::StaticConfigure>; }
This build under VS2010, but not with VS2015, it's saying it can't resolve the overload function. Well, this is part is too much ++ for me, i don't understand.
If i comment doing the following :
vdplugin.h
Code:
struct VDXPluginInfo {
...
/*
VDXShowStaticAboutProc mpStaticAboutProc;
VDXShowStaticConfigureProc mpStaticConfigureProc;
*/
}
videofilter.h
Code:
template<class T>
class VDXVideoFilterDefinition : public VDXFilterDefinition {
public:
VDXVideoFilterDefinition(const char *pszAuthor, const char *pszName, const char *pszDescription) {
...
/*
mpStaticAboutProc = T::StaticAbout == VDXVideoFilter::StaticAbout ? NULL : VDXStaticAboutConfigureAdapter<T::StaticAbout>;
mpStaticConfigureProc = T::StaticConfigure == VDXVideoFilter::StaticConfigure ? NULL :VDXStaticAboutConfigureAdapter<T::StaticConfigure>;
*/
}
it builds under VS2015.
If by any chance anyone has any idea...