Differences between Visual Component Library (vcl) and WinApi

Is there a difference between using vcl components in Delphi and WinApi functions to create a GUI application.

+3
source share
6 answers

@Azad I think that there are two big differences: firstly, the ease of use of VCL, which allows you to drag and drop controls onto a form (window), change its properties and assign events, providing high performance during development. graphical interface

Another big difference is the size of the final application. If you create an application using only WINAPI calls, your final application will be smaller than when using VCL.

KOL (KOL - - ( ) 32- Windows, Delphi, VCL ( Free Pascal). .).

alt text
(: kolmck.net)

+8

VCL - , Windows API gory, Delphi.
Windows...

+7

Delphi VCL, OCCASIONAL Win32 API. VCL Win32, . , , .

, KOL, "" , .

Microsoft ( ), MFC ATL ++ .NET #/VB.net, "", API Win32, MS Visual .

, - , Notepad.exe, "" (Win32 API raw), . , , , . , , . (, ), , Win32 native.

+7

Well, of course, VCL requires the Borland compiler. Win32 API works in any language. The point of using a GUI class library, such as VCL, is to simplify the creation of a GUI-enabled program. Performing this use only of Win32 is completely punished.

+5
source

time, time, and then even more time.

+4
source

You use WinAPI to perform actions that VCL does not know how to do.

+2
source

Source: https://habr.com/ru/post/1732068/


All Articles