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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T10:27:36+00:00 2026-05-20T10:27:36+00:00

The software I am working on was originally written in Delphi, and any recent

  • 0

The software I am working on was originally written in Delphi, and any recent additions to the software have been done in C#. I would like to derive some C# forms from base Delphi forms. I have managed to get most of it working, except when I try to open the Design view of the C# form in Visual Studio 2008 I get an error. The error message is as follows “Constructor on type’base class’ not found.”

I have done some searching and apparently this is due to the Delphi form not having a default constructor which takes zero arguments. The Delphi TForm class does not have a default constructor which takes zero arguments so I can’t just add one to my Delphi form.

The code I have compiles and runs exactly how I need it to, however I will need to be able to add new components to the C# form in the future. Anyone got any ideas on how I can get the Visual Studio design view working?

Here’s a very simplified version of what I have:

Delphi Code:

type
  TMyDelphiForm = class(TForm)

  private
    ...
  public
    constructor Create(Sender : TObject);
  end;

implementation

  Constructor TMyDelphiForm.Create(Sender : TObject);
  begin
    inherited;
  end;

C# Code:

public partial class MyCSharpForm : TMyDelhpiForm
{
  public MyCSharpForm(Component sender) : base(sender);
  {
    InitializeComponent();
  }
}

Thanks in advance

  • 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-20T10:27:36+00:00Added an answer on May 20, 2026 at 10:27 am

    You cannot mix and match Win Forms and VCL Forms in the same application – period. They are two separate Windows frameworks and are not compatible. The only way to go is to redo the GUI in Visual Studio and link to your non-GUI components built as assemblies through the Delphi.NET compiler.

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

Sidebar

Related Questions

I have a few software developers working for my projects and I would like
I'm working on some screen scraping software and have run into an issue with
I'm working on software which encrypts/decrypts files. I would like to be able to
I am working on a software project and have written a validation system to
We have situation where say we have four engineers that are working on software
I'm working on some production software, using C# on the .NET framework. I really
I am working on a software development project that uses code written primarily in
I'm working on a multi-user phonebank software. I originally was planning to use Windows
I'm currently working on some .Net based software (.Net Framework 3.5 SP1) that integrates
I'm working on software that has been developed to support two SQL Server versions.

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.