想知道是否有人在.NET CF 3.5程序中设法使用它。
我收到错误:“找不到类型或命名空间名称'UnmanagedFunctionPointerAttribute'(您是否缺少using指令或程序集引用?)”,尝试调试时。
这个类显然存在于InteropServices中,我已将其包含在违规文件中(“使用System.Runtime.InteropServices;”)。
感谢。
答案 0 :(得分:1)
此属性在.NET CF 3.5中不可用:
平台
Windows 7,Windows Vista,Windows XP SP2,Windows XP Media Center 版本,Windows XP Professional x64 Edition,Windows XP Starter 版本,Windows Server 2008 R2,Windows Server 2008,Windows Server 2003,Windows Server 2000 SP4,Windows Millennium Edition,Windows 98