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?
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.
, .
++/CLI 32-, ++.
COM- , Office 64. COM- midl 64- . - .NET COMVisible.
COMVisible
64- COM- 64- - DLL, , .
Source: https://habr.com/ru/post/1763044/More articles:Can the target Makefile invoke commands even if the precondition is not met? - makefileAdd parameter map to Jasperreport in Spring MVC - spring-mvcOverload of Excellence - c #Does endianness make sense when copying bytes to memory? - c ++Combining dictionaries at a key level and then at a cost level - dictionarykill application after crash - androidhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1763046/how-to-pass-additional-parameters-to-javascript-event-object&usg=ALkJrhjqx3d6poOikTW3EB8oztQ_137pKgSQL Query value divided by max (value) - maxProper use of multiple style sheets on the same page - htmlAcquiring a stream identifier (tid) in glib - glibAll Articles