屏幕截图MFC

上传者: chelya111 | 上传时间: 2022-04-21 10:34:44 | 文件大小: 137KB | 文件类型: RAR
里边包含3个项目, 一个是客户端socket通讯, 一个是服务端通信, 一个是MFC对话框程序.可以使用本代码编写出基于BMP转换JPG的GUI方法, 并且实现SOCKET发生JPG编码, 保存JPG图片.本文在屏幕截图的基础之上, 实现了从BMP转换到JPG, 保存到硬盘, 以及发送JPG编码到服务端, 服务端接收之后, 显示客户端发送的图片, 整个项目简单明了, 没有不必要的东西, 就一点代码, 主要是windows的API和GDI的Cimage, IStream的使用

文件下载

资源详情

[{"title":"( 36 个子文件 137KB ) 屏幕截图MFC","children":[{"title":"MFCAdo.sln <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"MyScreanServer","children":[{"title":"Release","children":[{"title":"MyScreanServer.exe <span style='color:#111;'> 239.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"MyScreanServer","children":[{"title":"MyScreanServer.h <span style='color:#111;'> 489B </span>","children":null,"spread":false},{"title":"stdafx.cpp <span style='color:#111;'> 145B </span>","children":null,"spread":false},{"title":"Resource.h <span style='color:#111;'> 534B </span>","children":null,"spread":false},{"title":"MyScreanServer.vcproj.A-42FDD2CBDBB94.admin.user <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"MyScreanServer.rc2 <span style='color:#111;'> 370B </span>","children":null,"spread":false},{"title":"MyScreanServer.ico <span style='color:#111;'> 21.12KB </span>","children":null,"spread":false}],"spread":true},{"title":"stdafx.h <span style='color:#111;'> 896B </span>","children":null,"spread":false},{"title":"MyScreanServer.cpp <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false},{"title":"targetver.h <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"MyScreanServer.vcproj <span style='color:#111;'> 5.47KB </span>","children":null,"spread":false},{"title":"UIThread.h <span style='color:#111;'> 600B </span>","children":null,"spread":false},{"title":"MyScreanServerDlg.h <span style='color:#111;'> 640B </span>","children":null,"spread":false},{"title":"MyScreanServerDlg.cpp <span style='color:#111;'> 3.01KB </span>","children":null,"spread":false},{"title":"UIThread.cpp <span style='color:#111;'> 3.28KB </span>","children":null,"spread":false},{"title":"MyScreanServer.rc <span style='color:#111;'> 5.10KB </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 2.35KB </span>","children":null,"spread":false}],"spread":false},{"title":"MyScreanServer.suo <span style='color:#111;'> 15.50KB </span>","children":null,"spread":false},{"title":"MyScreanServer.sln <span style='color:#111;'> 908B </span>","children":null,"spread":false}],"spread":true},{"title":"socksvr","children":[{"title":"socksvr.vcproj <span style='color:#111;'> 5.82KB </span>","children":null,"spread":false},{"title":"socksvr.cpp <span style='color:#111;'> 2.16KB </span>","children":null,"spread":false},{"title":"socksvr.plg <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"socksvr.vcproj.A-42FDD2CBDBB94.admin.user <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"socksvr.dsp <span style='color:#111;'> 4.50KB </span>","children":null,"spread":false},{"title":"StdAfx.cpp <span style='color:#111;'> 294B </span>","children":null,"spread":false},{"title":"StdAfx.h <span style='color:#111;'> 769B </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 1.19KB </span>","children":null,"spread":false}],"spread":true},{"title":"sockclient","children":[{"title":"sockclient.plg <span style='color:#111;'> 1.44KB </span>","children":null,"spread":false},{"title":"sockclient.vcproj <span style='color:#111;'> 5.82KB </span>","children":null,"spread":false},{"title":"StdAfx.cpp <span style='color:#111;'> 297B </span>","children":null,"spread":false},{"title":"StdAfx.h <span style='color:#111;'> 813B </span>","children":null,"spread":false},{"title":"sockclient.dsp <span style='color:#111;'> 4.53KB </span>","children":null,"spread":false},{"title":"sockclient.cpp <span style='color:#111;'> 7.91KB </span>","children":null,"spread":false},{"title":"sockclient.vcproj.A-42FDD2CBDBB94.admin.user <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • alexguo121 :
    用起来不是很方便,不过代码写的不错
    2014-10-27
  • xuejuxi :
    好用,学习了
    2014-05-06
  • samo528 :
    运行结果不是很好,有一定参考作用~
    2014-05-05
  • zssq1987 :
    这个很好用, 谢谢了... 主要是把截屏那一块函数弄出来
    2013-05-15
  • wangjiech :
    挺好用的,学习学习了
    2013-05-08

免责申明

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