WPF通过消息机制实现进程间通信(IPC)
摘要:接收端代码:[StructLayout(LayoutKind.Sequential)] public struct CopyDataStruc { public IntPtr dwData; public int cbData; // 字符串长度 [MarshalAs(UnmanagedType.LPStr)] public string lpData; // 字符串 } private void Window_Loaded(object sende...
阅读全文
posted @ 2012-10-16 12:38
浙公网安备 33010602011771号