本文介绍了在Windows Vista 64位环境下从命令行使用Delphi 2009进行编译的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在没有安装Delphi 2009的情况下,是否有人能够在64位Windows Vista下使用命令行dcc32.exe编译器成功编译Win32 GUI应用程序?在我们的系统上,它失败,并显示一条消息,提示DFM文件包含未知的16位资源.这通常表示无法读取DFM文件.我们尝试过,它可以在所有32位Vista和Windows XP上完美运行.

Has anyone succeeded to compile a Win32 GUI app with the command line dcc32.exe compiler, under 64-bit Windows Vista, without installing Delphi 2009? On our system it fails, with a message that the DFM files contain unknown 16-bit resources. This is usually an indication that the DFM files cannot be read. It works perfectly on all 32-bit Vista and Windows XPs, that we tried.

我在问,因为我们想确保以后可以根据需要重建当前的exe文件,因此,即使将来我们都切换到64位操作系统,我们也希望能够重建旧版2009版本.

I am asking, because we want to ensure that we can rebuild our current exe files later, if needed, so even if we all switch to 64-bit OSes in the future, we want to be able to rebuild the old 2009 versions.

推荐答案

添加lnkdfm120.dll解决了该问题.

Adding lnkdfm120.dll solved the problem.

这篇关于在Windows Vista 64位环境下从命令行使用Delphi 2009进行编译的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-28 06:18
查看更多