摘要:
1、如果是win32的api,就用DllImport,例如: [DllImport("user32.dll",EntryPoint="GetDC")] public static extern IntPtr GetDC(IntPtr ptr); (加上命名空间using System.Runtime.InteropServices;) 2、如果是atl的com组件,那么通过在cmd里运行工... 阅读全文
posted @ 2009-06-04 15:06
blue.net
阅读(378)
评论(0)
推荐(0)

浙公网安备 33010602011771号