64 to 32 bit Interop - how?

前端 未结 3 1135
无人共我
无人共我 2021-01-04 07:25

I need to integrate some legacy 32-bit code - for which I don\'t have the source code, into a project in such a way that it can be called from a 64-bit .NET assembly. The or

3条回答
  •  猫巷女王i
    2021-01-04 08:23

    The best approach is to make an out of process COM server that wraps your 32-bit DLL. You can then call this from 64bit code.

    Here is an explanation of the basic concepts.

提交回复
热议问题