R link error too many resource to handle

坚强是说给别人听的谎言 提交于 2019-12-12 03:43:47

问题


I have a large project(single exe) having three thousand pas files and almost two thousand dfms. It also contains several resource strings and image lists.

This project was working very fine and was enhancing this again and again for several modules as per user requirement. I cannot split this application to multiple exes because of several reasons. My customer is willing to buy that much hardware for supporting it.

Now recently i started getting "R link error- too many resources to handle" error when i compile after adding a new form in to the project. As a work around what i did is, i made some of the resourcestring in to constants. so again project started compiling like before. ie without any error. now whenever i need to add a new form (resource) i will make some of the resourcestring to constants. now there are no more resourcestrings remains in my project. so i am almost struck now.

Could you help me to escape from this link error without splitting application.

Thanks in advance. Basil


回答1:


Have you thought about breaking it up into a .dll or package? It's not a separate exe, and things can be broken out into usable parts.

Or does the client only one one executable?

Dll Example

BPL DLL differences




回答2:


Working with delphi 7 I had the same problem. What partly fixed it was to replace the rlink32.dll from delphi 7 with a version of a more recent delphi.



来源:https://stackoverflow.com/questions/16329646/r-link-error-too-many-resource-to-handle

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!