32位到64位i/f的选项? [英] options for 32-bit to 64-bit i/f?

查看:70
本文介绍了32位到64位i/f的选项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

我有一些'c'Win32 dll,我们需要将其部署到Windows Server 2008 R2.这意味着它们需要i/f到第3​​方dll的64位版本,但是其他依赖项意味着它们本身必须保持32位并在WoW64下运行.所以我需要找到一些 从"c" Win32 dll到64位Windows"c" dll的通信方式.我正在构想一个围绕第三方64位dll的64位服务器进程,该进程支持某种32位兼容的IPC'c'API二进制i/f,但是我不知道是否这样 我/f存在,如果存在,您将如何使用它.请任何人能给我一些建议吗?

I have some 'c' Win32 dll's which we need to deploy to Windows Server 2008 R2. This means they need to i/f to a 64-bit version of a 3rd party dll, however other dependencies mean that they themselves must remain 32-bit and run under WoW64. So I need to find some means of communicating from a 'c' Win32 dll to a 64-bit Windows 'c' dll. I'm imagining a 64-bit server process wrapped around the 3rd party 64-bit dll, supporting some sort of 32-bit compatible IPC 'c' API binary i/f, but I don't know if such an i/f exists and if so how you would use it. Please can anyone give me some suggestions?

Dev env是VS 2005.

Dev env is VS 2005.

谢谢

taci

推荐答案

在64位系统下,您可以调用32位DLL. Windows On Windows使事情成真!

Under 64bit system, you can call 32bit DLLs. Windows On Windows makes things happen !

这是Matt Pietriek文章从64位世界开始的系统编程方法: http://msdn.microsoft.com/en-us/magazine/cc300794.aspx

here is the system programming way to start in 64bit world by Matt Pietriek article : http://msdn.microsoft.com/en-us/magazine/cc300794.aspx

问候

克里斯托弗·皮哈德(Christophe PICHAUD)

Christophe PICHAUD

MCSD,MCSD.NET,MCTS NET 2.0

www.christophep.com

 


这篇关于32位到64位i/f的选项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆