开发者

ambiguous symbols

开发者 https://www.devze.com 2022-12-15 08:34 出处:网络
1>C:\\Program Files\\Microsoft SDKs\\Windows\\v6.0A\\include\\objidl.h(5934) : error C2872: \'IDataObject\' : ambiguous symbol
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

精彩评论

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

关注公众号