Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7160257
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T13:22:11+00:00 2026-05-28T13:22:11+00:00

We have a large SQL driven software system which has been around since Delphi

  • 0

We have a large SQL driven software system which has been around since Delphi 1. It uses the same original project files in all of its various projects. We’ve recently begun upgrading to Delphi XE2, and I’ve been contemplating the idea of creating NEW project files and re-adding all the source again – to make sure they get the recommended defaults of a new Delphi XE2 project.

Would anyone recommend this? And what are the risks? Obviously it’s a difficult task, re-defining version number, project names/description/company info, etc. But it’s the size of the original projects that scares me. 3 main executables plus many others, totaling in probably close to 3 million lines of code all together.

The main reason I’m thinking of doing this is because I’ve seen how new Delphi XE2 projects automatically create sub-directories per platform and release (Win32, Win64, Debug, Release, etc.). Our projects are currently a mess and I’ve been trying to clean it up.

So what would you say the risks are in this? And why or why not is this a good idea? Could there be some alternative to “Reset” the defaults?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T13:22:12+00:00Added an answer on May 28, 2026 at 1:22 pm

    Re-creating the project file shouldn’t hurt, yet it shouldn’t add anything useful either. I’d seriously question your motivation and I’d consider changing only what needs to be changed:

    Our projects are currently a mess and I’ve been trying to clean it up.

    Anyone that’s been around a big project probably thinks that at some point. If there truly is some “mess” somewhere, it’s in the project’s source files (PAS, DFM) not in the actual project file. Refactoring should probably go the other way around. Reorganize the source files (if needed), remove files that are proven to be redundant, and the project file will immediately reflect the new found cleanness.

    Obviously it’s a difficult task, re-defining version number, project names/description/company info, etc.

    That’s ALL on one page in the project’s options. I honestly doubt that’s going to be the most difficult thing you’ll need to do. You’re much more likely to discover hard-coded dependencies on 3rd party components and other in-house projects. Those will be a pain to track down, because you’ll hit ReBuild time and time again, fixing the one unit the compiler complains about.

    The idea is that the project file lists the files that makes up the project and includes a minimal set of compiler options and defines. If you re-create the project file you’ll end up adding all the compiler options and defines back in, and you’ll also add every single one of the files back in, one at a time, because that list is actually coded in the uses clauses of the files that make up your project. The only files that will NOT make it back in are those that can be found on the search path, in the project’s folder and those that truly are redundant. If you want to remove redundant files, this is not the way to go. Better look into some sort of uses list analyzer.

    The main reason I’m thinking of doing this is because I’ve seen how new Delphi XE2 projects automatically create sub-directories per platform and release (Win32, Win64, Debug, Release, etc.)

    No need to re-create the project file for that, simply change the Output Directory and Unit Output Directory in your project’s Compiler Options to this:

    .\$(Platform)\$(Config)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a rather large SQL query which the majority of which has come
I'm working on a large SQL Server codebase, some of which has been in
I have a rather large SQL file which starts with the byte order marker
I have a SQL script which is extremely large (about 700 megabytes). I am
I have a really large SQL dump around 400MB. It's in the following format,
I currently have a large SQL statement which i add the following line to
I have a large .sql file of tables -- is there software that can
Hello I have a very large SQL script and while trying to execute it
Is it particularly bad to have a very, very large SQL query with lots
I'm hand-coding Linq to SQL Entities and have a large XML column that I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.