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 8751383
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T13:02:08+00:00 2026-06-13T13:02:08+00:00

I have this large program written in C++ Builder, relying heavily on the VCL

  • 0

I have this large program written in C++ Builder, relying heavily on the VCL graphics library. For many reasons, I want to abandon this tool. There are a couple of alternative compilers to move to, I’m open for any of them.

What I wonder is how one would do the actual porting, step by step? Has anyone done this and could share their experience?

I would imagine that step 1 is to separate the GUI/VCL from the application. The program should have been designed like that anyhow, but sadly it isn’t. That alone is a major project, but where do I go after that? Should I link up the VCL GUI in .dll files, include them in the new compiler, but maintain them from Builder if needed?

  • 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-06-13T13:02:09+00:00Added an answer on June 13, 2026 at 1:02 pm

    I would start — as you say — by separating the presentation layer from the business logic. Start by doing this in the familiar C++ Builder environment: remove the business logic from the application and recreate it as one or more separate modules (DLLs, on Windows), and change the presentation layer so that the program still runs but accesses these modules for all business logic operations.

    Then you can rewrite the application without using VCL. You might stick with C++ and use another GUI library (Qt is certainly one of the options, wxWidgets is also worth a look) or you might want to change language (depending on your own skills and preferences) for the presentation layer.

    Another attraction to moving the business logic out of the presentation is that it then becomes much more easily testable.

    I’d recommend taking a look at Michael Feathers’s book Working Effectively with Legacy Code before you start. He gives a good (and very test-based) approach to this sort of refactoring.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have written a fairly large program in Fortran 90. It has been working
I have a fairly large program written in C. It spans several files, and
I have written a program in C to parse large XML files and then
I'm scratching my head here... I have a large program which I've written in
for my bachelor thesis I have written a program (in C) to sort large
I have this relatively large numerical application code that may run for a few
I have this string containing a large chunk of html and am trying to
I have a very large UIView approx 3000x3000 in size. In this large view
I have read this article from High Scalability about Stack Overflow and other large
I have been handed this project that has a large number of issues with

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.