C ++ / CLI 64-bit COM

I have a C ++ / CLI assembly that wraps a native 32-bit dll.

The assembly is used both from .Net and for COM (office).

Now I have a client that runs a 64-bit office.

Is it possible to create a C ++ / CLI assembly that uses a native 32-bit DLL and exports a 64-bit COM interface?

+3
source share
2 answers

No, you cannot mix code with different bit precision in the same process on Windows. You need to force 32-bit code into a separate process or convert this DLL.

, , COM + ( DCOM, ). , ++. , ++/CLI.

+2

, .

++/CLI 32-, ++.

COM- , Office 64. COM- midl 64- . - .NET COMVisible.

64- COM- 64- - DLL, , .

0

Source: https://habr.com/ru/post/1763044/


All Articles