这是什么错误:[Error]RLINK32:Unsupported 16bit resource in file"unit2.dfm"

wzwcn 2003-12-19 06:13:19
小弟编个小程序保存到U盘,第二次打开的时候每一个单元文件都要手工重新引入工程,程序运行不了了,出现了这个错误,请问高手这是什么原因?
...全文
1128 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
hthunter 2003-12-19
  • 打赏
  • 举报
回复
我好像遇到过类似的问题。
一个正常的Form,在设计时,在窗体上点击右键,最底下的“Text DFM”应该默认是打上勾的(表示该窗体的DFM文件是以纯文本形式保存的),但是如果那个勾去掉,则该文件用记事本打开的话看到都是一些乱码(具体是怎么保存的我没有深究过)。
我当时遇到这种情况是有三个人同时在开发一个模块,后来某一天突然发现某一个窗体在其中一个人的机器上打开时报类似于楼主的错误,我发现那个DFM文件用记事本打开看到的都是乱码,而在我的机器上又可以用Delphi打开那个窗体,把“Text DFM”打上勾之后保存再拿到那个人的机器上就可以打开了。
不知道你的文件是不是在不同的机器编写过,你用记事本打开看看是不是乱码,如果是的话应该就是跟我一样的问题。找一台可以用Delphi打开该文件的机器(上一次打开过这个文件的机器应该就可以),把“Text DFM”打上勾吧,呵呵。
Changelog: ========== 2015-04-23 (5.91) - Fixed: IDEFixPack didn't take into account that DB.TFlatList uses late loading through GetCount - Fixed: fastdcc32/64/aarm in XE7 and XE8 didn't load the CompilerSpeedPack into the compiler's process 2015-04-21 (5.9) - Added: Fix for QC 71270, 76338 and 76379. "CodeInsight doesn't like the underscore." - Added: TStringList.IndexOfName optimization - Fixed: FieldAddress optimization could fail if a published field name was also used in an ancestor 2015-02-15 (5.8) - Added: Compiler cleanup code performance optimization for large packages - Added: If XE7's rlink32.dll is detected in older Delphi versions the "too many resources to handle" patch is skipped - Changed: Installer/Uninstaller doesn't require rtl.bpl/vcl.bpl in the PATH anymore - Improved: IDE Fix Pack StringLists use CompareStringOrdinal instead of CompareString 2014-09-16 (5.71) - Improved: EditorLineBreak.ttr patch not only prevents the file loading but also deletes/renames the existing file 2014-08-25 (5.7) - Added: TObject.FieldAddress optimization for DFM loading - Added: Fix for QC 111917: RLINK32: Too many resources to handle. Instead of 3626 it can now handle 65534 resource items - Added: String function replacements without STRINGCHECKS - Added: Fix for "class operator In" class completion - Added: IDEFixPackReg*.exe supports command line parameter /EXTRACT that extracts the files instead of installing them - Added: Disable creation of EditorLineEnd.ttr 解决 EditorLineEnd.ttr 占用问题

5,386

社区成员

发帖
与我相关
我的任务
社区描述
Delphi 开发及应用
社区管理员
  • VCL组件开发及应用社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧