问题
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