在vs2005中使用Microsoft.Interoperability报错 听说是跟vs2010有关
Microsoft.Interoperability : 向 PInvoke cwfRdlcView.SetForegroundWindow(IntPtr):Boolean 的返回类型添加MarshalAsAttribute。如果对应的非托管返回类型为 4 字节的 Win32“BOOL”,则使用 MarshalAs(UnmanagedType.Bool);
对于 1 字节的 C++“bool”,使用 MarshalAs(UnmanagedType.U1)。
我在我的机器里面安装了vs2010 --------------------编程问答-------------------- 右键 属性 目标框架 选择3.5 --------------------编程问答-------------------- 我用的是vs 2005 2.0的 --------------------编程问答--------------------
--------------------编程问答--------------------
我用的vs2005 2.0的 --------------------编程问答--------------------
还是不行......
补充:.NET技术 , C#