directshow
1) baseclasses 能编译成功,因为 additional include directories : .(当前目录作为sys目录,可以使用include<>,而且多个头文件中类型相互认识)
2) 如果是动态dll,则还要strmiids.lib winmm.lib
3)如果当前dll是一个filter,一切OK,但是如果不是一个filter,没有定义CFactoryTemplate g_Templates,和int g_cTemplates ,需要自己造假如下:
CFactoryTemplate g_Templates[]=
{ { L""
, NULL
, NULL
, NULL
, NULL
}
};
int g_cTemplates = sizeof(g_Templates)/sizeof(g_Templates[0]);
4)参考
http://www.codeguru.com/forum/showthread.php?s=&postid=847266
http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=868592&SiteID=1
5)my test