[引]C# DllImport 属性
摘要:
在该示例中,程序接收来自用户的字符串并将该字符串显示在消息框中。程序使用从 User32.dll 库导入的 MessageBox 方法。 using System; using System.Runtime.InteropServices; class MainClass { [DllImport("User32.dll")] public static extern int Mes... 阅读全文
posted @ 2008-09-24 09:07 freeliver54 阅读(875) 评论(1) 推荐(0)
浙公网安备 33010602011771号