Program Fails to Compile

Program Fails to Compile

Every time I try to compile a program, I get “Error(0) Duplicate Resources” and the program stops.

I understand that this is a linker error of some kind, but I don’t know what. Can you help? (I am using Delphi 3 Standard Edition.)

Use Windows Explorer to go to the folder where your program resides and delete all files except the .DPR, .PAS, and .DFM files (and any custom .RES files you might have created).

That will make Delphi completely rebuild all linker and resource files for your application. If that doesn’t work, then look in your library search path for stuff that might be duplicated in various folders.

See also  How AI Art Generators Can Save Time and Money for Startups

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist