directshow开发中的一个错误

添加的dshow_h错误: ctlutil.h(278) : error C4430

分类: Wince 988人阅读 评论(3) 收藏 举报
c bugs

c:/dxsdk/samples/c++/directshow/baseclasses/ctlutil.h(278) : error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int

该错误出现在使用DirectX开发过程中的,出现在文件ctlutil.h中的下面的代码里:

private:
    //  Prevent bugs from constructing from LONG (which gets
    //  converted to double and then multiplied by 10000000
    COARefTime(LONG);
    operator=(LONG);//错误提示在这里
};

 

查看评论
2楼 jackgo163 2012-11-14 14:02发表 [回复] [引用] [举报]
没明白一楼的意思,我是菜鸟,请楼主给我解答一下
1楼 newplumage 2011-08-25 20:22发表 [回复] [引用] [举报]
解决方法是 :
c/c++ 中的 command Line 加上
/wd4430
Re: xiaodan007 2011-08-30 01:17发表 [回复] [引用] [举报]
回复newplumage:原来可以这样解, tks :)

你可能感兴趣的:(WinCE)