What is DelphiVCL.Application.CreateHandle?
July 27, 2021
We can use the CreateHandle method or DelphiVCL.Application.CreateHandle to generate a main window for the application if it does not already have one.
Do not call CreateHandle directly. In EXEs, the application’s constructor calls CreateHandle. In DLLs, it does not.
CreateHandle encapsulates much of what traditional Windows programs write in WinMain. For example, CreateHandle…