【Win32】进程外COM组件的实现,包括本地和远程调用客户端

上传者: zxc000 | 上传时间: 2021-06-07 09:39:52 | 文件大小: 126KB | 文件类型: ZIP
进程外COM组件的示例代码,压缩包内包含以下工程。 1、服务器程序 1)CalculationSimpleCOM,是一个进程外COM服务器,拥有一个ICalc接口; 2)CalculationSimpleCOMProxy,是服务器端和客户端共用的存根代理dll; 3)CalculationAutomation,是一个进程外自动化服务器,拥有一个ICalc2接口。 2、本地调用客户端程序 1)TestSimpleCOM,用于调用CalculationSimpleCOM服务器进行本地调用测试; 2)TestAutomation,用于调用CalculationAutomation服务器进行本地调用测试。 3、远程调用客户端程序 1)TestRemote,分别调用上述两个服务器进行远程调用测试; 2)TestRemoteAutomation,假设客户端只有服务端的tlb文件,将tlb转化为代理存根dll进行远程调用; 3)TestRemoteAutomationProxy,自动化服务器的tlb转化为代理存根dll项目。

文件下载

资源详情

[{"title":"( 60 个子文件 126KB ) 【Win32】进程外COM组件的实现,包括本地和远程调用客户端","children":[{"title":"OutofProcCOM","children":[{"title":"Calculation_Uninstall.reg <span style='color:#111;'> 1.63KB </span>","children":null,"spread":false},{"title":"TestRemoteAutomationProxy","children":[{"title":"TestRemoteAutomationProxy.vcproj <span style='color:#111;'> 4.55KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"TestRemoteAutomationProxy.tlb <span style='color:#111;'> 1.91KB </span>","children":null,"spread":false}],"spread":true},{"title":"CalculationAutomation_h.h <span style='color:#111;'> 6.51KB </span>","children":null,"spread":false},{"title":"dlldata.c <span style='color:#111;'> 863B </span>","children":null,"spread":false},{"title":"CalculationAutomation_p.c <span style='color:#111;'> 10.42KB </span>","children":null,"spread":false},{"title":"Release","children":[{"title":"TestRemoteAutomationProxy.tlb <span style='color:#111;'> 1.91KB </span>","children":null,"spread":false}],"spread":true},{"title":"CalculationAutomation.IDL <span style='color:#111;'> 926B </span>","children":null,"spread":false},{"title":"CalculationAutomation_i.c <span style='color:#111;'> 1.95KB </span>","children":null,"spread":false},{"title":"Export.def <span style='color:#111;'> 144B </span>","children":null,"spread":false}],"spread":true},{"title":"TestRemoteAutomation","children":[{"title":"calculationautomation.tlh <span style='color:#111;'> 1.73KB </span>","children":null,"spread":false},{"title":"calculationautomation.tli <span style='color:#111;'> 824B </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 2.90KB </span>","children":null,"spread":false},{"title":"Release","children":[{"title":"calculationautomation.tlh <span style='color:#111;'> 1.76KB </span>","children":null,"spread":false},{"title":"calculationautomation.tli <span style='color:#111;'> 880B </span>","children":null,"spread":false}],"spread":true},{"title":"TestRemoteAutomation.vcproj <span style='color:#111;'> 3.90KB </span>","children":null,"spread":false}],"spread":true},{"title":"Calculation_Install.reg <span style='color:#111;'> 4.24KB </span>","children":null,"spread":false},{"title":"CalculationAutomation","children":[{"title":"Server.cpp <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false},{"title":"Calculation.h <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false},{"title":"CalculationAutomation_h.h <span style='color:#111;'> 6.51KB </span>","children":null,"spread":false},{"title":"dlldata.c <span style='color:#111;'> 863B </span>","children":null,"spread":false},{"title":"CalculationAutomation.vcproj <span style='color:#111;'> 4.39KB </span>","children":null,"spread":false},{"title":"Server.h <span style='color:#111;'> 256B </span>","children":null,"spread":false},{"title":"Calculation.cpp <span style='color:#111;'> 3.98KB </span>","children":null,"spread":false},{"title":"CalculationAutomation.aps <span style='color:#111;'> 33.28KB </span>","children":null,"spread":false},{"title":"CalculationAutomation_p.c <span style='color:#111;'> 10.42KB </span>","children":null,"spread":false},{"title":"CalculationAutomation_i.c <span style='color:#111;'> 1.95KB </span>","children":null,"spread":false},{"title":"ICalc2.h <span style='color:#111;'> 591B </span>","children":null,"spread":false},{"title":"CalculationAutomation.idl <span style='color:#111;'> 890B </span>","children":null,"spread":false}],"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"TestRemote","children":[{"title":"TestRemote.vcproj <span style='color:#111;'> 3.88KB </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 3.99KB </span>","children":null,"spread":false}],"spread":true},{"title":"release","children":[{"title":"CalculationSimpleCOMProxy.dll <span style='color:#111;'> 8.50KB </span>","children":null,"spread":false},{"title":"TestRemoteAutomation.exe <span style='color:#111;'> 6.50KB </span>","children":null,"spread":false},{"title":"CalculationAutomation.exe <span style='color:#111;'> 9.00KB </span>","children":null,"spread":false},{"title":"TestRemote.exe <span style='color:#111;'> 7.50KB </span>","children":null,"spread":false},{"title":"TestSimpleCOM.exe <span style='color:#111;'> 6.50KB </span>","children":null,"spread":false},{"title":"TestAutomation.exe <span style='color:#111;'> 6.50KB </span>","children":null,"spread":false},{"title":"CalculationSimpleCOM.exe <span style='color:#111;'> 8.50KB </span>","children":null,"spread":false},{"title":"TestRemoteAutomationProxy.dll <span style='color:#111;'> 8.00KB </span>","children":null,"spread":false},{"title":"CalculationAutomation.tlb <span style='color:#111;'> 1.91KB </span>","children":null,"spread":false}],"spread":true},{"title":"TestAutomation","children":[{"title":"main.cpp <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"TestAutomation.vcproj <span style='color:#111;'> 3.89KB </span>","children":null,"spread":false}],"spread":true},{"title":"CalculationSimpleCOMProxy","children":[{"title":"CalculationSimpleCOMProxy.vcproj <span style='color:#111;'> 4.54KB </span>","children":null,"spread":false},{"title":"CalculationSimpleCOM_p.c <span style='color:#111;'> 9.64KB </span>","children":null,"spread":false},{"title":"dlldata.c <span style='color:#111;'> 835B </span>","children":null,"spread":false},{"title":"CalculationSimpleCOM_h.h <span style='color:#111;'> 3.87KB </span>","children":null,"spread":false},{"title":"Export.def <span style='color:#111;'> 146B </span>","children":null,"spread":false},{"title":"CalculationSimpleCOM_i.c <span style='color:#111;'> 1.71KB </span>","children":null,"spread":false},{"title":"CalculationSimpleCOM.idl <span style='color:#111;'> 367B </span>","children":null,"spread":false}],"spread":true},{"title":"OutofProcCOM.suo <span style='color:#111;'> 121.00KB </span>","children":null,"spread":false},{"title":"CalculationSimpleCOM","children":[{"title":"Server.cpp <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false},{"title":"Calculation.h <span style='color:#111;'> 941B </span>","children":null,"spread":false},{"title":"Server.h <span style='color:#111;'> 254B </span>","children":null,"spread":false},{"title":"Calculation.cpp <span style='color:#111;'> 2.49KB </span>","children":null,"spread":false},{"title":"ICalc.h <span style='color:#111;'> 405B </span>","children":null,"spread":false},{"title":"CalculationSimpleCOM.vcproj <span style='color:#111;'> 4.34KB </span>","children":null,"spread":false}],"spread":true},{"title":"OutofProcCOM.sln <span style='color:#111;'> 5.66KB </span>","children":null,"spread":false},{"title":"TestSimpleCOM","children":[{"title":"TestSimpleCOM.vcproj <span style='color:#111;'> 3.89KB </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false}],"spread":true}],"spread":false}],"spread":true}]

评论信息

免责申明

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