Reputation: 203
Contrary to the tradition of Delphi applications, a completely empty FMX application compiled in Delphi 12 for the Win64 platform has a dependancy of a library that might be not installed on the user's PC.
I found out that the System.Win.Crtl.pas
unit contains a dependency on api-ms-win-crt*...dll
. There is also a conditional directive:
{$IFDEF UCRT}
{...use these libraies...}
{$ELSE}
msvcrt = 'msvcrt.dll';
Older Delphi versions always used only msvcrt.dll
. I didn't find the UCRT
conditional mentioned in the documentation, so is it possible to undefine it and so link to msvcrt.dll
only?
Upvotes: 1
Views: 74