开发者

ambiguous symbols

1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\objidl.h(5934) : error C2872: 'IDataObject' : ambiguous symbol
1>        could be 'C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\objidl.h(251) : System::Windows::Forms::IDataObject IDataObject'
1>        or       'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll : System::Window开发者_运维问答s::Forms::IDataObject

can anyone help with this error?


Your project imports System.Windows.Forms from two places, from the SDK and from the deployed .Net framework. Fix your sources and/or include paths to include it only once, prefferably the one from the SDK.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜