Utilizing a 32-bit DLL in a 64-bit process via COM

前端 未结 3 1319
难免孤独
难免孤独 2020-12-10 06:16

So some time ago I was investigating an issue that I knew would be coming up soon. We have a DLL that links to 32-bit versions of a certain library. There is no x64 versio

3条回答
  •  没有蜡笔的小新
    2020-12-10 07:06

    You can create a COM exe or service which will always run as 32 bit. Inside this 32 bit exe, you can access your 32 bit dll which links to 32 bit versions of the library.

    The below block diagram explains the basics

    Take a look at this link for details:

    http://blog.mattmags.com/2007/06/30/accessing-32-bit-dlls-from-64-bit-code/#more-355

提交回复
热议问题