摘要: 今天用VS2005编译DirectShow程序,发现出来很多莫名其妙的链接错误:如下:error LNK2001: 无法解析的外部符号 "public: virtual long __stdcall CBaseFilter::FindPin(wchar_t const *,struct IPin * *)" (?FindPin@CBaseFilter@@UAGJPB_WPAPAUIPin@@@Z)error LNK2001: 无法解析的外部符号 "public: virtual long __stdcall CBaseFilter::JoinFilterGraph 阅读全文
posted @ 2010-12-31 13:11 igody 阅读(3687) 评论(0) 推荐(0) 编辑
摘要: 上次开发DirectShow还是2005年1月,整整两年,今天又重操旧业。这次在VS2005上使用DirectShow,首次编译发现出现以下错误:error C2146: syntax error : missing ';' before identifier 'PVOID64'看了很多关于这个问题的讨论,解答,无非就是改写winnt.h中的代码:原代码:typedefvoid*PVOID; typedefvoid*POINTER_64PVOID64;在这两行代码前增加:#definePOINTER_64__ptr64但这明显是下下之策,而且真正原因没人说的清楚 阅读全文
posted @ 2010-12-31 12:56 igody 阅读(180) 评论(0) 推荐(0) 编辑