开发者

Is it possible in Windows 7 64 bit to use 64 bit com dlls (in process servers) from a 32 bit exe application?

开发者 https://www.devze.com 2023-03-08 02:46 出处:网络
Is it possible in Windows 7 64 bit to use 64 bit com dlls (in process servers) from a 32 bit exe application?

Is it possible in Windows 7 64 bit to use 64 bit com dlls (in process servers) from a 32 bit exe application?

I need to leave my VB6 gui application as 32 bit running on a windows 7 system but it has calls to com dlls (in process servers) and com exe's ( out of process servers).

My understanding is that it should have no problem with the com exe's the out of process servers.

I think the com dll in process server may have trouble since it is 64 bit but the application call开发者_开发百科ing it is 32 bit.

Has anyone used a 64 bit com dll from a 32 bit application?

Thanks


A solution to this is discussed here:

https://stackoverflow.com/a/8484244/147637 (Read the whole post)


Years ago I used a 32bit DLL in a 16bit app. I don't remember how we did it (and the technique would surely not still be applicable), but this is generally called "thunking".

A quick Google would appear to indicate this can't be done in process, but I only scanned: http://www.google.com/search?q=thunking+64bit+32bit+dll

0

精彩评论

暂无评论...
验证码 换一张
取 消