devxlogo

Program Fails to Compile

Program Fails to Compile

Question:
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.)

Answer:
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  Why ChatGPT Is So Important Today
devxblackblue

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