简体   繁体   English

如何将Delphi XE2 64bit支持添加到简单的Delphi XE2 32位VCL组件中?

[英]How add Delphi XE2 64bit support to a simple Delphi XE2 32bit VCL component?

I need convert a VCL component from 32bit to 64bit (Delphi XE2). 我需要将VCL组件从32位转换为64位(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). 现在我只能在选择“32位平台”时安装它,如果我选择“64位平台”我可以编译但不安装(没有安装菜单)。 How can I add 64bit support and install it for 64bit application? 如何添加64位支持并将其安装到64位应用程序中?

If you mean "install it into the IDE", the simple answer is that you cannot. 如果您的意思是“将其安装到IDE中”,那么简单的答案就是您不能。

The IDE is a 32-bit application and is not designed to host 64-bit DLL's. IDE是一个32位应用程序,不适用于托管64位DLL。 Any components or plug-ins must be compiled for 32-bit in order to work with the IDE itself. 必须为32位编译任何组件或插件才能使用IDE本身。

64-bit support in a component is for runtime support only, not design-time. 组件中的64位支持仅用于运行时支持,而不是设计时。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM