COM客户端/服务器跨64/32位进程 [英] COM Client/Server cross 64/32 bit processes

查看:157
本文介绍了COM客户端/服务器跨64/32位进程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在64位机:

可在64位应用程序调用COM服务器(从PROC),这是在32位进程中运行?

Can a 64-bit application call a COM server (out proc) which is running in 32-bit process?

那么反之亦然? (32位应用程序调用64位的COM出进程内服务器)

What about vice versa? (32 bit app calling 64-bit COM out proc server)

谢谢!

推荐答案

出进程内COM整点是这两个过程通过RPC(通常是LRPC)进行交互,所以它并不重要,在所有位数每他们了。

The whole point of out-proc COM is that the two processes interact via RPC (usually LRPC), so it doesn't matter at all which bitness each of them has.

我们使用COM +代理迫使32位的进程内组件集成到一个单独的进程从64位客户端占用了他们很多次的唯一目的 - 与所有必要的工具和编组present它的作品没有任何努力

We used COM+ surrogate for forcing 32-bit in-proc components into a separate process for the only purpose of consuming them from 64-bit clients many times - with all necessary stuff for marshalling present it works without any effort.

这篇关于COM客户端/服务器跨64/32位进程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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