Visual C++ Application in C++Builder - delphi

I am using a vc++ project (it is a gui application and only uses win api) can i use them or convert and use them with c++Builder , I have access c++builder xe and i am very new to vc++ but i know delphi and have a few knowledge of c++builder . (I know both are c++ but i am talking about ide)
can i use them in c++builder
my application is sfxzip
I allready have a delphi form so i can include it with c++builder project

You can include Delphi code and forms in a C++Builder project.

Related

Delphi compatibility issue

There seems to be a compatibility issue between Delphi 10 Seattle and Delphi 2010
I've written a school project using Delphi 10 Seattle but my teacher still uses Delphi 2010. When I transferred and opened the source code in Delphi 2010 it gave errors.
I've installed 2010 on my PC to replicate the error (screenshot below)
"File not found Vcl.Forms.dcu"
Any thoughts how to get this to work, the marking/moderating takes place with Delphi 2010.
Unit scope names were added in Delphi XE2. Vcl.Forms does not exist in older versions of Delphi. Instead, it should just be Forms.
The reason is because of the introduction of the Firemonkey framework in Delphi XE2. With Firemonkey also came the necessity to differentiate Vcl.Forms from Fmx.Forms. The same applies with many other units, such as Graphics. Delphi 2010 did not have Firemonkey, so it did not yet enforce this prefix.
If you need code to compile in Delphi 2010 and Delphi 10 Seattle, specify only the base unit names in your uses clause (Forms, Graphics, etc), and make sure your Delphi 10 Seattle project has the necessary scope(s) (Vcl, Winapi etc) setup in Project > Options > Delphi Compiler > Unit scope names. By default, new projects should already have this. If not, you can add Vcl and any other prefixes you need. This will make sure the compiler can find Vcl.Forms even when you specify only Forms in code.

using delphi xe7 form(VCL) in delphi 7

Is there some possibility to use Delphi xe7 form in Delphi 7 project, without create DLL file? I found "Monkey-Mixer" which allows to use FMX form in VCL project, and I wonder is there same tool for use new VCL forms in older versions of Delphi?
Is there some possibility to use Delphi XE7 form in Delphi 7 project, without creating DLL file?
No there is not. You cannot link code from different versions of Delphi into the same executable.

Delphi XE3 third party VCL components in the XE4?

I use Delphi XE3 and I want to migrate to the Delphi XE4. Can I use the same third party components as I used in XE3 in XE4? In previous versions happened many changes, which precluded the use of previous versions of third party components.
You must re-compile your project in XE4, using XE4's VCL.
If by "XE3 VCL" you are actually referring to third-party VCL components, then they need to be compiled and installed in XE4 before they can be used in XE4 projects.
This is true of just about every Delphi version (D2007 being the only exception, as it was binary compatible with D2006).

What's the difference between Delphi and Rad Studio?

I can't find a feature comparison list. I believe they can both can create native unmanaged code, right? Does Delphi by itself feature RAD?
Yes. Both Delphi and RAD Studio contain the IDE and Delphi itself, so they both create the same unmanaged native code.
RAD Studio includes other product lines as well (XE2, for instance, included C++Builder, HTML5 Builder and Delphi Prism in addition to Delphi itself). The Delphi product simply included Delphi. Both products lines, though, use the same IDE for Delphi (and C++Builder, in the case of RAD Studio).

Comport Package Library for Embarcadero RAD Studio XE for C++ modules

I'm trying to install the Comport package in a Embarcadero RAD Studio XE. For the Delphi forms, the pallete appears with all comport modules (and functional,i am very sure ), but when I create a C++ form, the comport pallete appears, but with no modules inside.
I also have an installed old version of comport on Borland C++ Builder 6.0 and it works pretty well, so I'd also like to use this on Embarcadero's RAD.
Does someone know how can I fix it ? I mean, how can I make the cport modules to appear in the C++ form mode?
Thank you.
Update
Just a comment, the how-2-path to set the "Generate all C++Builder files (including package libs)" is the following:
In Delphi mode, open DsgnCPortDXE.bpl
Set the
Project >> Options >> Delphi Compiler >> Output - C/C++ >> C/C++ Output file generation >> Generate all C++Builder files (including package libs)
When you compile the package, make sure the Delphi Linker's "Generate all C++Builder files" option is enabled in the Project Options.

Resources