登录
首页 » C++ » CPP-use-shared-memory-

CPP-use-shared-memory-

于 2014-03-10 发布 文件大小:2KB
0 90
下载积分: 1 下载次数: 4

代码说明:

  C++ 使用共享内存实现进程间通信。 文件映射是一种实现进程间单向或双向通信的机制。它允许两个或多个本地进程间相互通信。为了共享文件或内存,所有的进程必须使用相同的文件映射的名字或是句柄。   为了实现共享文件,第一个进程先调用CreateFile方法。接下来调用CreateFileMapping方法来创建一个文件映射对象。并为文件映射指明一个句柄和名称。由于事件,信号,互斥对象和文件映射等这些内核对象都共享同一个名字空间,所以如果这个名字和其他一个对象的名称重名的话那么将创建失败。(C++ use shared memory to achieve inter-process communication)

文件列表:

C%2B%2B use shared memory .txt,6942,2014-03-10

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • G722_1Decoder
    G722_1Decoder 是一个基于C的可供移植的DLL, 可以用于引入到.Net程序,只需调用DllImport即可方便地在.Net Project 里使用,可用于多媒体在网络中的实时音频传输和播放。(Is a G722_1Decoder of available C based on the DLL, can be used for the introduction of the. Net program, simply call the DllImport can easily. Net Project in use, can be used for multi-media in the network of real-time audio and video transmission.)
    2020-10-26 01:00:00下载
    积分:1
  • demo
    说明:  标签/关键词: 连接oracle数据库,并实现插入数据(Connecting Oracle database and inserting data)
    2019-04-11 22:22:33下载
    积分:1
  • 01_串口通讯实验
    说明:  串口通信简单的,易懂适合小白,底层开始做(serial communication)
    2020-11-16 14:29:07下载
    积分:1
  • buckdanhuan
    单环PID控制buck电路,控制器tms320f28335,通过改变占空比控制buck电路输出电压大小。(Single-loop PID control buck circuit, controller tms320f28335, by changing the duty cycle control buck circuit output voltage.)
    2020-10-27 12:59:58下载
    积分:1
  • LSSVR回归
    说明:  可用于最小二乘支持向量回归相关问题,非线性拟合及预测(It can be used in least squares support vector regression, nonlinear fitting and prediction)
    2020-12-25 16:46:41下载
    积分:1
  • LLC_quanqiao
    说明:  LLC的主电路图,方便电力电子专业的学习,考虑了两个谐振点(block diagram of LLC)
    2019-05-13 08:05:31下载
    积分:1
  • c#点击关闭渐隐效果
    说明:  c#的关于点击窗口关闭后的渐显渐隐效果展示(C # on the fading effect display after the click window closes)
    2020-06-19 21:40:02下载
    积分:1
  • VC chat program prepared by the S model good C source code
    用VC编写的聊天程序 C S 模式 很好的源代码 -VC chat program prepared by the S model good C source code
    2022-01-26 02:43:09下载
    积分:1
  • siyiren-dlfj
    说明:  环境动力系统,希望对大家有用,哈哈,用于他处后果自负啊(Power system environment, useful for all of us hope, ha ha, for the consequences of his own Department ah)
    2009-08-19 09:44:56下载
    积分:1
  • Client
    远程控制客户通过象服务器端发出请求,服务器接受请求,从而实现对服务器的控制。(Remote Control client through the server-side as a request, the server accepted the request to the server in order to achieve control.)
    2008-04-24 10:10:11下载
    积分:1
  • 696524资源总数
  • 103930会员总数
  • 47今日下载