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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T20:09:53+00:00 2026-05-11T20:09:53+00:00

I have a large application written in Delphi. I want to renew it, starting

  • 0

I have a large application written in Delphi. I want to renew it, starting with the user interface. I thought about using the new Qt. During the process of renewing it, I want to change to C++ as the programming language.
Is there a way to gradually rewrite the application (starting with the UI) to change to C++?

Thank you for your help.

  • 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-11T20:09:53+00:00Added an answer on May 11, 2026 at 8:09 pm

    The best course of action highly depends on the C++ development environment.

    If it is C++ Builder you have two possibilities:

    • Use runtime packages instead of normal DLLs. This will spare you much headaches when it comes to string marshalling and mapping class hierarchies to flat DLL functions.

    • Use mixed code. You can mix Delphi/Pascal code with C++ code in the same project. (Only one language in a single module/unit though)

    If it is any other C++ compiler:

    • Go the way you proposed with DLLs. You have to create some kind of layer/facade to map your classes’ functionality to flat DLL functions.

    • If you want to go the plain DLL way even though you are using C++ Builder you can try using a shared memory manager like ShareMem (comes with Delphi) or FastMM (SourceForge) to allow passing of strings instead of PChars.

    • Create .objs instead of .dcus so both compilers work with the same output format. Then link them directly into you C++ program. This is essentially the same as with creating a DLL, but it’s static. You will spot certain kinds of errors at compile time rather than runtime.

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

Sidebar

Related Questions

I have written an application (using Delphi 2009) that allows a user to select
I have a fairly large application that uses WPF for its user interface. I
I have a relatively large application written in Python and using PyQT as a
I have a large application written using .Net remoting for file transfer. This was
We have a rather large and complex application written in Java which is running
In my application I have large area (≈5000x5000pts) and I must allow user to
I am fairly new to Rails and I have never developed a large application.
I have an application written in C++ using Qt4.4.3 on Linux. Doing some benchmarking,
I have a very large, complex (million+ LOC) Windows application written in C++. We
I have an application written in Python that's writing large amounts of data to

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.