Show: Delphi C++
Display Preferences

New Console Application (C++)

From RAD Studio
Jump to: navigation, search

Go Up to File Menu


File > New > Other > C++Builder Projects > Console Application

Use this wizard to create a C or C++ application that runs in a console window. Console applications can use nonvisual elements of the VCL and the FireMonkey. (Creating a console application for Delphi does not open this wizard.)

Item Description

Source Type

Specifies the language to use for the main module of the application. Choices are:

  • C
  • C++

Target Framework

Specifies the framework or library associated with the console application.

None

No framework is associated with the console application.

Visual Component Library

Creates an application that can contain VCL components. This option is available only if you choose C++ as your Source Type. Checking this option causes the IDE to #include vcl.h and to change the start-up code and linker options for compatibility with VCL objects. This option implies the use of the Delphi run-time library (RTL) as well. The VCL supports only the Windows target platform.

FireMonkey

Creates an application that can contain FireMonkey components (multi-device). This option is available only if you choose C++ as your Source Type. Checking this option causes the IDE to #include fmx.h and to change the start-up code and linker options for compatibility with FireMonkey objects. This option implies the use of the Delphi run-time library (RTL) as well. FireMonkey supports all supported target platforms.

Multi Threaded

Specifies more than one thread of execution. This option is required (and grayed) if you select a target framework (Target Framework is not "None").

Console Application

Creates a console window for your application.

Specify project source

Allows you to specify an existing source file for the console application. To specify a source file, check this option and click the ... button to locate and select a source file.

See Also

Personal tools
In other languages
Previous Versions
Assistance