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

CPP-use-shared-memory-

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

  • clusterdemo
    得到硬盘中簇的大小 (Getting the clusters size of disk)
    2020-11-16 20:09:39下载
    积分:1
  • LIVST220
    英国铁路调度模拟软件,可以在家里模拟调度火车(British Rail scheduling simulation software, you can train at home to simulate scheduling)
    2009-10-29 21:02:23下载
    积分:1
  • 173
    网络计时器,很不错的VB源码,适合VB爱好者学习研究。(Network timer, a very good VB source code for VB enthusiasts to learn.)
    2012-03-27 18:13:19下载
    积分:1
  • 腐蚀,膨胀,细化算法
    说明:  基于C程序的图像腐蚀,图像膨胀,细化算法代码,供大家参考。(The image erosion based on the C program, the image expansion, and the algorithm code are refined for your reference.)
    2020-04-04 12:06:53下载
    积分:1
  • (2)本地计算机网络接入计算机实例…
    (2)本地计算机网络编程实例 获取计算机的名称和IP地址【chap2Local】 获取计算机的子网掩码【chap2 Local】 获取计算机的DNS设置【chap2 Local】 获取计算机的网卡地址【chap2 Local】 获取计算机安装的协议【chap2 Local】 获取计算机提供的服务【chap2 Local】 获取计算机的所有网络资源【chap2 Local】 修改本地计算机的所有网络设置【chap2 Local】 获取计算机TCP/IP协议的所有信息【chap2 Local】-(2) the local computer network access to computer programming examples of the names and IP addresses [ chap2 L ocal access to a computer-- Subnet Mask [ chap2 Local access to a computer-- installed DNS [ chap2 Local access to the computer-- the NIC address [ chap2 Local access-- the installation of computer [the agreement chap2 Local computer-- access services provided by the [ chap2 Local access to a computer-- all network resources [ chap2 Local-- amend local computer all network configuration [ chap2 Local computer-- access TCP/IP protocol all the information [ chap2 Local--
    2023-06-02 01:25:03下载
    积分:1
  • 列举系统中安装的所有网络协议的序代码
    列举系统中安装的所有网络协议的程序代码-List of all installed on the system network protocol code
    2022-07-24 17:35:04下载
    积分:1
  • nettime procedures can access the internet is very easy to use
    nettime程序 可以随时获取internet上的时间 非常好用-nettime procedures can access the internet is very easy to use
    2022-08-26 01:58:05下载
    积分:1
  • xiangsnmp
    很好的VC++编程,SNMP的一个应用程的范例,喜欢的下载(Good VC++ Programming, SNMP-way of an application example, likes to download)
    2008-05-29 23:41:30下载
    积分:1
  • SystemInformation800X480
    SystemInformation 是由德国人 Daniel Schumann 开发的一款用于 PND 设备 WinCE 系统上的免费桌面程序,软件非常经典。 本程序分为桌面版和菜单版,桌面版运行后其程序界面替代了 WinCE 的桌面,比较有特色; 菜单版就是普通的程序,大家用来做一机多图的,都是这个版本。 本软件为SystemInformation32.exe 两个可执行文件,是运行在电脑上的模拟程序;(SystemInformation is developed by the German Daniel Schumann, a free desktop program for PND device WinCE system, the software is very classic. This program is divided into desktop version and menu version, the desktop version of the program after running its interface replaced the desktop WinCE, more distinctive; The menu version is the normal procedure, we used to do a multi machine, is in this version. This software is SystemInformation32.exe two executable files, is running on the computer simulation program;)
    2017-11-21 17:53:40下载
    积分:1
  • C51机器人灭火
    说明:  机器人控制器是一个多任务并行执行的实时控制器。在软件实现上,灭火机器人除了要协调控制各个不同功用的电机,还需要对红外、光敏等多种传感器接收的数据进行传输、处理等。采用c语言可以方便快捷的编写程序。这里对灭火机器人的每种功能进行模块化处理。(Robot controller is a real-time controller for multi-task parallel execution. In software implementation, fire extinguishing robots not only need to coordinate the control of motors with different functions, but also need to transmit and process the data received by infrared, photosensitive and other sensors. C language can be used to write programs conveniently and quickly. Each function of the fire extinguishing robot is modularized.)
    2020-06-16 01:40:01下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载