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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T06:10:49+00:00 2026-05-13T06:10:49+00:00

We have a mature Windows desktop application written in C++. The application’s GUI sits

  • 0

We have a mature Windows desktop application written in C++. The application’s GUI sits on top of a windows DLL that does most of the work for the GUI (it’s kind of the engine). It, too, is written in C++. We are considering transitioning the Windows app to be a web-based app for various reasons.

What I would like to avoid is having to writing the CGI for this web-based app in C++. That is, I would rather have the power of a 4G language like Python or a .NET language for creating the web-based version of this app.

So, the question is: given that I need to use a C++ DLL on the backend to do the work of the app what technology stack would you recommend for sitting between the user’s browser and are C++ dll? We can assume that the web server will be Windows.

Some options:

  1. Write a COM layer on top of the windows DLL which can then be access via .NET and use ASP.NET for the UI
  2. Access the export DLL interface directly from .NET and use ASP.NET for the UI.
  3. Write a custom Python library that wraps the windows DLL so that the rest of the code can be written.
  4. Write the CGI using C++ and a C++-based MVC framework like Wt

Concerns:

  • I would rather not use C++ for the web framework if it can be avoided – I think languages like Python and C# are simply more powerful and efficient in terms of development time.
  • I’m concerned that my mixing managed and unmanaged code with one of the .NET solutions I’m asking for lots of little problems that are hard to debug (purely anecdotal evidence for that)
  • Same is true for using a Python layer. Anything that’s slightly off the beaten path like that worries me in that I don’t have much evidence one way or the other if this is a viable long term solution.
  • 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-13T06:10:49+00:00Added an answer on May 13, 2026 at 6:10 am

    See also Can a huge existing
    application be ported to the web?
    How?

    Sorry there are no good solutions, just less bad ones….

    Firstly as you already develop for windows I am assuming that you are used to using the Microsoft development tools, I would not give the same answer for a desktop application that is coming from unix (or Mac).

    Some random thoughts and pointers.

    • I would make use of Asp.net most likely Aps.net MVC.
    • I would try to wrap in C++ classes in some nice high level .net class, maybe using Managed C++ / CLI.
    • Using COM is likely to be a lot of work on the C++ side and does not make the .NET easy, so I would avoid COM in favour of managed C++ or pinvoke (However if you are allready using COM on the C++ side, this it is an option, provided you are using the subset of COM that VB6 could cope with).
    • .NET can’t access none managed C++ object, but it can access simple C function using Pinvoke, so whatever you do some sort of bridging layer will be needed on the C++ site.
    • See if you can use Silverlight rather than the web, if you are able to (install issues etc) it will save you a lot of development time. (And lets you target Microsoft Phones as well)
    • Check that the business case for a “port to the web” is very strong and it will take a lot longer then you think!, Is hosting with terminal server etc an option for your customers?
    • Think about threading and multi user access, e.g. does your dll assume it is only being used by one user?
    • Just because you are working on a new web version, you will still get customers demanding changes to the desktop version even after you have shipped the web version. I have found in the past that current customers don’t always wish to move to a web app.

    (Sorry I don’t know match about Python, however if you don’t already have skills in it I would say stick on the Microsoft stack as you already know the Microsoft debugger etc)


    (I think of porting complex applications to the web as a very big pain, it is best to avoid pain when possible however sometimes you are given no option and just have to minimize the pain. If you have never worked on large applications that are in the process (normally many years work) of being ported to the web, you just don’t know what you are letting yourself in for!)

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

Sidebar

Related Questions

I have a mature MFC C++ application that displays on screen and prints using
We have a pretty mature COM dll, which we test using DUnit. One of
Most mature C++ projects seem to have an own reflection and attribute system ,
I have an application that processes files in a directory and moves them to
My team is planning to develop an application that is initially targeted for Windows
Have you used VS.NET Architect Edition's Application and System diagrams to start designing a
We have a lot of WCF services using as a host windows services. And
I have to build a web application in a couple of weeks in your
jQuery hashchange event For me it looks like most mature solution right now(please correct
I have a project that adds elements to an AutoCad drawing. I noticed that

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.