不带DLL的COM接口 [英] COM Interface without DLL

查看:108
本文介绍了不带DLL的COM接口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人可以告诉我如何从一个.exe发布COM接口,并在另一个.exe中使用它吗?

即first.exe应该发布包含1个简单函数的COM接口,second.exe应该使用该COM接口并访问该函数.

注意:first.exe不应为发布COM创建dll.我正在使用Visual Studio 2010和C ++.

Can anybody tell me how to publish COM interface from one .exe and use it in another .exe?

i.e. first.exe should publish COM interface containing 1 simple function and second.exe should use that COM interface and access that function.

Note : first.exe should not create dll for publishing COM. I am using Visual Studio 2010 and C++.

推荐答案

COM接口基础 [ ^ ]可以帮助.


这篇关于不带DLL的COM接口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆