如何将 Delphi XE2 64 位支持添加到一个简单的 Delphi XE2 32 位 VCL 组件? [英] How add Delphi XE2 64bit support to a simple Delphi XE2 32bit VCL component?

查看:35
本文介绍了如何将 Delphi XE2 64 位支持添加到一个简单的 Delphi XE2 32 位 VCL 组件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要将 VCL 组件从 32 位转换为 64 位(Delphi XE2).现在事实上我只有选择32位平台"才能安装它,如果我选择64位平台"我可以编译它但不能安装(没有安装菜单).如何添加 64 位支持并为 64 位应用程序安装它?

I need convert a VCL component from 32bit to 64bit (Delphi XE2). Now infact I can install it only if I select "32bit Platform", if I select "64bit Platform" I can compile it but not install (there is not the install menu). How can I add 64bit support and install it for 64bit application?

推荐答案

如果您的意思是将其安装到 IDE 中",那么简单的答案是您不能.

If you mean "install it into the IDE", the simple answer is that you cannot.

IDE 是 32 位应用程序,并非设计用于托管 64 位 DLL.任何组件或插件都必须编译为 32 位才能与 IDE 本身一起使用.

The IDE is a 32-bit application and is not designed to host 64-bit DLL's. Any components or plug-ins must be compiled for 32-bit in order to work with the IDE itself.

组件中的 64 位支持仅用于运行时支持,而非设计时.

64-bit support in a component is for runtime support only, not design-time.

这篇关于如何将 Delphi XE2 64 位支持添加到一个简单的 Delphi XE2 32 位 VCL 组件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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