使用共享内存在进程之间传输图像

上传者: buffi | 上传时间: 2021-05-12 21:20:28 | 文件大小: 7.84MB | 文件类型: RAR
利用mutex 和sharedmemory,在两个独立程序之间传输图象数据,利用OpenFileMapping, OpenMutex,MapViewOfFile等函数创建共享内存,并进行保护性读写。本工程使用vc2005编译,原创。可供中高级软件工程师参考。

文件下载

资源详情

[{"title":"( 51 个子文件 7.84MB ) 使用共享内存在进程之间传输图像","children":[{"title":"TestSharedMemWriter","children":[{"title":"TestSharedMemWriter.clw <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"TestSharedMemWriter.opt <span style='color:#111;'> 47.50KB </span>","children":null,"spread":false},{"title":"FreeImage.dll <span style='color:#111;'> 2.59MB </span>","children":null,"spread":false},{"title":"SharedMemoryWriter.cpp <span style='color:#111;'> 2.38KB </span>","children":null,"spread":false},{"title":"resource.h <span style='color:#111;'> 783B </span>","children":null,"spread":false},{"title":"TestSharedMemWriterDlg.cpp <span style='color:#111;'> 10.26KB </span>","children":null,"spread":false},{"title":"feikiss.gif <span style='color:#111;'> 970.72KB </span>","children":null,"spread":false},{"title":"TestSharedMemWriter.vcproj.PC-201112261422.hdy.user <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"TestSharedMemWriter.sln <span style='color:#111;'> 902B </span>","children":null,"spread":false},{"title":"SharedMemoryWriter.h <span style='color:#111;'> 996B </span>","children":null,"spread":false},{"title":"TestSharedMemWriter.vcproj <span style='color:#111;'> 7.91KB </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 3.72KB </span>","children":null,"spread":false},{"title":"TestSharedMemWriter.cpp <span style='color:#111;'> 2.03KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"TestSharedMemWriter.rc2 <span style='color:#111;'> 411B </span>","children":null,"spread":false},{"title":"TestSharedMemWriter.ico <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false}],"spread":false},{"title":"TestSharedMemWriter.aps <span style='color:#111;'> 37.00KB </span>","children":null,"spread":false},{"title":"TestSharedMemWriter.suo <span style='color:#111;'> 33.00KB </span>","children":null,"spread":false},{"title":"StdAfx.cpp <span style='color:#111;'> 221B </span>","children":null,"spread":false},{"title":"TestSharedMemWriterDlg.h <span style='color:#111;'> 1.98KB </span>","children":null,"spread":false},{"title":"TestSharedMemWriter.ncb <span style='color:#111;'> 10.05MB </span>","children":null,"spread":false},{"title":"TestSharedMemWriter.rc <span style='color:#111;'> 5.32KB </span>","children":null,"spread":false},{"title":"TestSharedMemWriter.plg <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"FreeImage.h <span style='color:#111;'> 53.34KB </span>","children":null,"spread":false},{"title":"TestSharedMemWriter.dsw <span style='color:#111;'> 561B </span>","children":null,"spread":false},{"title":"StdAfx.h <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"TestSharedMemWriter.dsp <span style='color:#111;'> 4.43KB </span>","children":null,"spread":false},{"title":"FreeImage.lib <span style='color:#111;'> 62.72KB </span>","children":null,"spread":false},{"title":"TestSharedMemWriter.h <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false}],"spread":false},{"title":"TestSharedMemoryReader","children":[{"title":"TestSharedMemoryReader.ncb <span style='color:#111;'> 13.45MB </span>","children":null,"spread":false},{"title":"TestSharedMemoryReader.cpp <span style='color:#111;'> 2.07KB </span>","children":null,"spread":false},{"title":"TestSharedMemoryReader.vcproj.PC-201112261422.hdy.user <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"resource.h <span style='color:#111;'> 702B </span>","children":null,"spread":false},{"title":"ShareMemoryReader.h <span style='color:#111;'> 360B </span>","children":null,"spread":false},{"title":"TestSharedMemoryReader.dsw <span style='color:#111;'> 567B </span>","children":null,"spread":false},{"title":"TestSharedMemoryReader.h <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"TestSharedMemoryReader.suo <span style='color:#111;'> 21.50KB </span>","children":null,"spread":false},{"title":"TestSharedMemoryReader.opt <span style='color:#111;'> 47.50KB </span>","children":null,"spread":false},{"title":"TestSharedMemoryReaderDlg.cpp <span style='color:#111;'> 6.48KB </span>","children":null,"spread":false},{"title":"TestSharedMemoryReader.sln <span style='color:#111;'> 908B </span>","children":null,"spread":false},{"title":"TestSharedMemoryReaderDlg.h <span style='color:#111;'> 1.67KB </span>","children":null,"spread":false},{"title":"TestSharedMemoryReader.dsp <span style='color:#111;'> 4.34KB </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 3.78KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"TestSharedMemoryReader.ico <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"TestSharedMemoryReader.rc2 <span style='color:#111;'> 414B </span>","children":null,"spread":false}],"spread":false},{"title":"TestSharedMemoryReader.rc <span style='color:#111;'> 5.29KB </span>","children":null,"spread":false},{"title":"TestSharedMemoryReader.vcproj <span style='color:#111;'> 7.60KB </span>","children":null,"spread":false},{"title":"StdAfx.cpp <span style='color:#111;'> 224B </span>","children":null,"spread":false},{"title":"TestSharedMemoryReader.aps <span style='color:#111;'> 37.04KB </span>","children":null,"spread":false},{"title":"StdAfx.h <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"TestSharedMemoryReader.clw <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false},{"title":"ShareMemoryReader.cpp <span style='color:#111;'> 2.22KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • yusmt :
    还行,就是只支持GIF,慢慢研究一下看能不能支持其它图片格式
    2014-09-18
  • wowozhangyanan :
    版本比较老,不太能用,但是基本还行吧
    2014-03-11

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明