文件名称:c# 用共享内存实现进程通信
文件大小:56KB
文件格式:RAR
更新时间:2015-09-27 10:20:44
c# 共享内存 进程通信
c# 用共享内存实现进程通信 开几个程序都可以访问同样的内存数据 [DllImport("Kernel32.dll", CharSet = CharSet.Auto)] public static extern IntPtr CreateFileMapping(int hFile, IntPtr lpAttributes, uint flProtect, uint dwMaxSizeHi, uint dwMaxSizeLow, string lpName); [DllImport("Kernel32.dll", CharSet = CharSet.Auto)] public static extern IntPtr OpenFileMapping(int dwDesiredAccess, [MarshalAs(UnmanagedType.Bool)] bool bInheritHandle, string lpName);
【文件预览】:
共享内存
----ShareMemery.suo(17KB)
----UpgradeLog.XML(2KB)
----ShareMemery()
--------Form1.Designer.cs(3KB)
--------ShareMemery.suo(20KB)
--------Program.cs(472B)
--------obj()
--------bin()
--------Form1.cs(668B)
--------class共享内存.cs(7KB)
--------Form1.resx(6KB)
--------Properties()
--------ShareMemery.csproj(4KB)
----ShareMemery.sln(923B)
----_UpgradeReport_Files()
--------UpgradeReport.css(3KB)
--------UpgradeReport_Plus.gif(71B)
--------UpgradeReport.xslt(12KB)
--------UpgradeReport_Minus.gif(69B)