{$Apptype GUI} in this file causes running console application projects not starting as console application after a fresh rebuild of the project. The directive for console applications "{$apptype CONSOLE}" gets overwritten by the directive in this file.
Following sample is a simple piece of code showing the problem. Rebuild an application using this code and try to start executable from outside Delphi IDE - it will not start as a console application without my fix.
//-----------
program consoletest;
{$APPTYPE CONSOLE}
{$R *.RES}
uses
uTPLb_Constants, uTPLb_CryptographicLibrary, uTPLb_Codec;
begin
Write('press enter');
ReadLn;
end.
//-----------
{$Apptype GUI} in this file causes running console application projects not starting as console application after a fresh rebuild of the project. The directive for console applications "{$apptype CONSOLE}" gets overwritten by the directive in this file. Following sample is a simple piece of code showing the problem. Rebuild an application using this code and try to start executable from outside Delphi IDE - it will not start as a console application without my fix. //----------- program consoletest; {$APPTYPE CONSOLE} {$R *.RES} uses uTPLb_Constants, uTPLb_CryptographicLibrary, uTPLb_Codec; begin Write('press enter'); ReadLn; end. //-----------