整合FileDisk和Filemon的MFC开源码

上传者: Gleon | 上传时间: 2023-10-25 20:35:11 | 文件大小: 195KB | 文件类型: RAR
整合FileDisk和Filemon的MFC开源码,希望对新手有帮助! 说明:对大侠们可能没什么价值,仅以此献给像我一样的菜鸟! 软件环境和框架: 1.软件环境:VS.net2003 + XP IFS + DS3.2 2.框架:采用MFC框架; 功能: 1.自动加载FileDisk和Filemon的驱动程序部分; 2.用FileDisk生成一个虚拟硬盘,并自动分配盘符; 3.对新生成的虚拟盘符挂接Filemon的过滤驱动; 4.退出时自动卸载FileDisk和Filemon驱动; 不完善的地方(有兴趣的朋友可以完善下,并希望完善后请在我这里跟帖上传源码,就算是对我开源的支持,谢谢!): 1.FileDisk生成的虚拟硬盘需要先手动在资源管理器里进行格式化;可以在程序里调用SHFormat之类的启动格式化窗口进行改善,也可以使用第三方提供的格式化函数进行格式化; 2.Filemon目前是应用程序使用按照时间来进行查询的过滤方式,希望能改成驱动程序主动通知应用程序。 ------- 整理后面的回贴后追加的内容 ---------------- 1.在BOOL CMainFrame::Init(void)函数里有段网络通讯的代码,里面访问了我自己建的局域网服务器,大家那里应该是没有的,所以会报错,不好意思!注释或删掉以下内容就好了! CWebWrapper clsWebWrapper; CHttpDataPackage_Receive HttpData_Receive; //Call server function if (clsWebWrapper.PostCommand( _T(""), _T("abcd我你他"), &HttpData_Receive, _T("WebGrab"), this, FALSE, FALSE)) //if (clsWebWrapper.GetCommand( _T(""), _T("abcd我你他"), &HttpData_Receive, // _T("WebGrab"), this, FALSE, FALSE)) { AfxMessageBox(HttpData_Receive.GetContent_DataAll()); } else { AfxMessageBox("网络通讯失败"); return FALSE; } 2.大家如果想看文件过滤出来的信息,可以在BOOL CMainFrame::Init(void)函数里去掉对这句话//m_nTimer = SetTimer( 1, 500/*ms*/, NULL );的注释,那就相当于启动了定时器,然后会有信息显示在子窗口里,,当然我并没有去实现子窗口的滚动,所以子窗口里的内容满了后,就看不到最新的信息了,,哈哈,,我实在是没时间啊,,公司里的项目这2天在出演示版呢,,,忙啊。。。。大家自己加加代码哈,,,这也是个不完善的地方,希望完善了的朋友,,上传下代码啊,,,多谢! 3.另外,请下载使用了的朋友,有空的话来帮忙说下使用上有没有问题啊,如果有问题,我好及时做修改啊,谢谢了!如果可以用的话,有空就帮忙回个贴,说可以用,这样别的朋友就知道这个代码是可以用的,免得大家还以为下了个不能用的东东,那不是郁闷死了!先谢谢了! ------------- 最新补充说明 ------------------- 1.FileDisk和Filemon我用的都是比较老的版本了,FileDisk是2004年的,Filemon是4.34 ;FileDisk的作者在其网站上已经出了新版本了,是2006年的,我下载了,还没时间看过,所以大家有空也可以整合2006的驱动来替换我的老版本,毕竟老版本是可能有些不完善的地方的;而Filemon则没有再继续开放源码,,所以如果有朋友有幸获得了新版本的源码,能不能上传个,,多谢了! 2.Filemon.exe会自动在其目录下创建File.img文件做为虚拟磁盘使用的文件,大家只要手动格式化一次创建出来的虚拟磁盘,以后就不用再格式化,可以不断使用了,所以以后大家要是做成产品的话,可以直接把已经格式化好的对应的File.img文件一起打包到安装包里,呵呵! 3.我放弃了FileDisk中对CDROM部分的支持,以及Filemon中对Win9x的VxD驱动的支持,如果有朋友需要的话,可以自行添加!

文件下载

资源详情

[{"title":"( 100 个子文件 195KB ) 整合FileDisk和Filemon的MFC开源码","children":[{"title":"FileMon.aps <span style='color:#111;'> 50.56KB </span>","children":null,"spread":false},{"title":"CommonLib.aps <span style='color:#111;'> 46.70KB </span>","children":null,"spread":false},{"title":"WebDriver.aps <span style='color:#111;'> 19.02KB </span>","children":null,"spread":false},{"title":"FileDisk.aps <span style='color:#111;'> 18.06KB </span>","children":null,"spread":false},{"title":"FileFilter.aps <span style='color:#111;'> 17.42KB </span>","children":null,"spread":false},{"title":"TreeImage.bmp <span style='color:#111;'> 6.05KB </span>","children":null,"spread":false},{"title":"ListImage.bmp <span style='color:#111;'> 5.30KB </span>","children":null,"spread":false},{"title":"Toolbar.bmp <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"FileFilter.c <span style='color:#111;'> 174.34KB </span>","children":null,"spread":false},{"title":"FileDisk.c <span style='color:#111;'> 37.25KB </span>","children":null,"spread":false},{"title":"WebWrapper.cpp <span style='color:#111;'> 21.16KB </span>","children":null,"spread":false},{"title":"HttpDataPackage.cpp <span style='color:#111;'> 13.41KB </span>","children":null,"spread":false},{"title":"FileDisk_Driver.cpp <span style='color:#111;'> 12.38KB </span>","children":null,"spread":false},{"title":"FileFilter_Driver.cpp <span style='color:#111;'> 12.08KB </span>","children":null,"spread":false},{"title":"WebDA.cpp <span style='color:#111;'> 7.13KB </span>","children":null,"spread":false},{"title":"MainFrm.cpp <span style='color:#111;'> 6.58KB </span>","children":null,"spread":false},{"title":"ImageListCtrl.cpp <span style='color:#111;'> 5.53KB </span>","children":null,"spread":false},{"title":"SortHeaderCtrl.cpp <span style='color:#111;'> 5.14KB </span>","children":null,"spread":false},{"title":"FileMonView.cpp <span style='color:#111;'> 4.51KB </span>","children":null,"spread":false},{"title":"FileMon.cpp <span style='color:#111;'> 4.03KB </span>","children":null,"spread":false},{"title":"WebWrapperSession.cpp <span style='color:#111;'> 2.79KB </span>","children":null,"spread":false},{"title":"ErrorMsgDlg.cpp <span style='color:#111;'> 2.22KB </span>","children":null,"spread":false},{"title":"Dlg_StatusBar.cpp <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false},{"title":"Driver_Base.cpp <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":"StringEx.cpp <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false},{"title":"WebDriver.cpp <span style='color:#111;'> 1.19KB </span>","children":null,"spread":false},{"title":"CommonLib.cpp <span style='color:#111;'> 1.19KB </span>","children":null,"spread":false},{"title":"Global.cpp <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"FileMonDoc.cpp <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"CommonFunction.cpp <span style='color:#111;'> 939B </span>","children":null,"spread":false},{"title":"ChildFrm.cpp <span style='color:#111;'> 887B </span>","children":null,"spread":false},{"title":"stdafx.cpp <span style='color:#111;'> 140B </span>","children":null,"spread":false},{"title":"stdafx.cpp <span style='color:#111;'> 136B </span>","children":null,"spread":false},{"title":"stdafx.cpp <span style='color:#111;'> 136B </span>","children":null,"spread":false},{"title":"WebDriver.def <span style='color:#111;'> 106B </span>","children":null,"spread":false},{"title":"CommonLib.def <span style='color:#111;'> 106B </span>","children":null,"spread":false},{"title":"WinTypes.h <span style='color:#111;'> 18.42KB </span>","children":null,"spread":false},{"title":"HttpDataPackage.h <span style='color:#111;'> 11.80KB </span>","children":null,"spread":false},{"title":"WebWrapper.h <span style='color:#111;'> 5.80KB </span>","children":null,"spread":false},{"title":"FileFilter.h <span style='color:#111;'> 5.49KB </span>","children":null,"spread":false},{"title":"WebDA.h <span style='color:#111;'> 3.59KB </span>","children":null,"spread":false},{"title":"IoCtlCmd.h <span style='color:#111;'> 3.02KB </span>","children":null,"spread":false},{"title":"ErrorMsg.h <span style='color:#111;'> 2.71KB </span>","children":null,"spread":false},{"title":"WebWrapperSession.h <span style='color:#111;'> 2.58KB </span>","children":null,"spread":false},{"title":"FileDisk.h <span style='color:#111;'> 1.92KB </span>","children":null,"spread":false},{"title":"stdafx.h <span style='color:#111;'> 1.90KB </span>","children":null,"spread":false},{"title":"stdafx.h <span style='color:#111;'> 1.88KB </span>","children":null,"spread":false},{"title":"ErrorMsgDlg.h <span style='color:#111;'> 1.79KB </span>","children":null,"spread":false},{"title":"ImageListCtrl.h <span style='color:#111;'> 1.74KB </span>","children":null,"spread":false},{"title":"stdafx.h <span style='color:#111;'> 1.56KB </span>","children":null,"spread":false},{"title":"FileMonView.h <span style='color:#111;'> 1.44KB </span>","children":null,"spread":false},{"title":"Dlg_StatusBar.h <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false},{"title":"StringEx.h <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false},{"title":"Global.h <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"Server.h <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"FileFilter_Driver.h <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"ErrorMsg.h <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false},{"title":"SortHeaderCtrl.h <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"FileDisk_Driver.h <span style='color:#111;'> 1007B </span>","children":null,"spread":false},{"title":"WebDriverLib.h <span style='color:#111;'> 947B </span>","children":null,"spread":false},{"title":"resource.h <span style='color:#111;'> 824B </span>","children":null,"spread":false},{"title":"MainFrm.h <span style='color:#111;'> 823B </span>","children":null,"spread":false},{"title":"resource.h <span style='color:#111;'> 633B </span>","children":null,"spread":false},{"title":"CommonLib.h <span style='color:#111;'> 613B </span>","children":null,"spread":false},{"title":"FileMonDoc.h <span style='color:#111;'> 552B </span>","children":null,"spread":false},{"title":"Resource.h <span style='color:#111;'> 546B </span>","children":null,"spread":false},{"title":"resource.h <span style='color:#111;'> 506B </span>","children":null,"spread":false},{"title":"FileMon.h <span style='color:#111;'> 505B </span>","children":null,"spread":false},{"title":"ChildFrm.h <span style='color:#111;'> 483B </span>","children":null,"spread":false},{"title":"CommonFunction.h <span style='color:#111;'> 468B </span>","children":null,"spread":false},{"title":"CommonObject.h <span style='color:#111;'> 414B </span>","children":null,"spread":false},{"title":"resource.h <span style='color:#111;'> 406B </span>","children":null,"spread":false},{"title":"HeaderFiles.h <span style='color:#111;'> 306B </span>","children":null,"spread":false},{"title":"Driver_Base.h <span style='color:#111;'> 278B </span>","children":null,"spread":false},{"title":"FileFilter.h <span style='color:#111;'> 247B </span>","children":null,"spread":false},{"title":"FileMon.ico <span style='color:#111;'> 21.12KB </span>","children":null,"spread":false},{"title":"FileMonDoc.ico <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"buildchk.log <span style='color:#111;'> 2.19KB </span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'> 267B </span>","children":null,"spread":false},{"title":"MAKEFILE <span style='color:#111;'> 267B </span>","children":null,"spread":false},{"title":"FileMon.manifest <span style='color:#111;'> 696B </span>","children":null,"spread":false},{"title":"FileMon.rc <span style='color:#111;'> 11.31KB </span>","children":null,"spread":false},{"title":"CommonLib.rc <span style='color:#111;'> 4.98KB </span>","children":null,"spread":false},{"title":"WebDriver.rc <span style='color:#111;'> 3.73KB </span>","children":null,"spread":false},{"title":"FileFilter.rc <span style='color:#111;'> 2.35KB </span>","children":null,"spread":false},{"title":"FileDisk.rc <span style='color:#111;'> 2.27KB </span>","children":null,"spread":false},{"title":"CommonLib.rc2 <span style='color:#111;'> 376B </span>","children":null,"spread":false},{"title":"WebDriver.rc2 <span style='color:#111;'> 376B </span>","children":null,"spread":false},{"title":"FileMon.rc2 <span style='color:#111;'> 363B </span>","children":null,"spread":false},{"title":"FileMgr.sln <span style='color:#111;'> 5.07KB </span>","children":null,"spread":false},{"title":"Sources <span style='color:#111;'> 181B </span>","children":null,"spread":false},{"title":"Sources <span style='color:#111;'> 110B </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 3.65KB </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 1.63KB </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 1.63KB </span>","children":null,"spread":false},{"title":"FileFilter.vcproj <span style='color:#111;'> 7.09KB </span>","children":null,"spread":false},{"title":"FileDisk.vcproj <span style='color:#111;'> 6.69KB </span>","children":null,"spread":false},{"title":"FileMon.vcproj <span style='color:#111;'> 6.16KB </span>","children":null,"spread":false},{"title":"CommonLib.vcproj <span style='color:#111;'> 5.93KB </span>","children":null,"spread":false},{"title":"WebDriver.vcproj <span style='color:#111;'> 5.71KB </span>","children":null,"spread":false},{"title":"......","children":null,"spread":false},{"title":"<span style='color:steelblue;'>文件过多,未全部展示</span>","children":null,"spread":false}],"spread":true}]

评论信息

免责申明

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