摘要: [DllImport("ScreenCaptureLib.dll", CallingConvention = CallingConvention.Cdecl)] public static extern void Init(); [DllImport("ScreenCaptureLib.dll", CallingConvention = CallingConvention.Cdecl)] public static extern int ScreenCapture(IntPtr img);C#调用应该尽量避免用引用型的数组传递,因为c#... 阅读全文
posted @ 2013-06-17 18:15 fff8965 阅读(4501) 评论(1) 推荐(1) 编辑
摘要: long startTime = Environment.TickCount;long endTime = Environment.TickCount;long totalTime = endTime - startTime; 阅读全文
posted @ 2013-06-17 16:49 fff8965 阅读(267) 评论(0) 推荐(0) 编辑