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

CPP-use-shared-memory-

于 2014-03-10 发布 文件大小:2KB
0 203
下载积分: 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 个回复

  • Demo-code-for-E_Bike
    第一个参数设定助力功能允许与否,1为允许,0为禁止 第二个参数设定助力力量(PWM占空比),数值范围:0~0x355,数值越大,力量越大 第三个参数设定助力时间,数值越大,时间越长 (The first parameter set boost feature allows it or not, one to allow, 0 to disable the second parameter set booster power (PWM duty cycle), value range: 0 ~ 0x355, the greater the value, the greater the force the third parameter setting booster time, the greater the value, the longer)
    2013-07-29 16:02:44下载
    积分:1
  • trade
    Program trading, source code.
    2020-06-20 03:40:01下载
    积分:1
  • C++序课设计
    这是个摩托模型做的,比较简陋,改进的地方比较多,这个C++程序是使用VC++6.0编译的,做法就是简单的控制摩托的跳跃,控制摩托的加速等等,而且写的比较的粗糙,有改进的建议和想法请联系我, 
    2023-09-06 19:15:04下载
    积分:1
  • Windowsdesign
    说明:  本书特色: 基本入门:输出、输入、对话方块 对Unicode的介绍 图形处理:绘图、文字与字体、点阵图形与metafile 系统核心与印表机 声音与音乐 动态连结程式库 多工与多执行绪 多重文件介面 网际网路与企业内网路程式设计 (This book features: the basic entry: output, input, a dialogue box on the Unicode introduction of the graphics processing: graphics, text and fonts, dot matrix and metafile graphics core of the system with voice and music printer dynamic link library to implement multi-tasking and multi- multiple document interface thread Internet and intranet programming)
    2008-09-08 22:02:26下载
    积分:1
  • Tree
    数据结构 二叉树实例 数据结构 二叉树实例(数据结构 二叉树实例)
    2009-02-22 23:43:07下载
    积分:1
  • fRAMElAYOUTgRAVITY
    Frame Layout Gravity extends Activity Source Code for Andriod.
    2014-01-13 19:22:41下载
    积分:1
  • 电梯调度
    说明:  电梯调度算法实现,网页界面演示。5台电梯的调度,内调度采用look算法,外调度采用优先级调度(Implementation of Elevator Scheduling Algorithms and Demonstration of Web Interface)
    2020-06-20 13:20:01下载
    积分:1
  • 利用TCP IP实现简单的客户服务器模式
    利用TCP IP实现简单的客户服务器模式-Easy to use implementation of the TCP IP client-server model
    2023-04-19 11:15:03下载
    积分:1
  • TS_201_link_test
    基于TS201的测试TS8-6U-cPCI板卡上DSP点对点DMA链路口通信速率,(Based on the test TS201 TS8-6U-cPCI board DSP DMA chain crossing point communication rate,)
    2011-08-16 10:54:45下载
    积分:1
  • 静电治疗仪软件
    用STC单片机 C语言编写的程序 产生中频信号的静电治疗仪(Programs written in an intermediate frequency signal of the electrostatic therapeutic apparatus)
    2018-07-18 18:47:19下载
    积分:1
  • 696518资源总数
  • 106208会员总数
  • 21今日下载