COM客户端/服务器跨64/32位进程客户端、进程、服务器、COM

2023-09-08 01:11:43 作者:老痰酸菜

在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.

 
精彩推荐
图片推荐