TurboPack / LockBox3

LockBox3 is a Delphi and C++Builder library for cryptography.
Other
173 stars 59 forks source link

FIX: Disable compile option "{$apptype GUI}" #15

Closed RadiRadiesel2 closed 3 years ago

RadiRadiesel2 commented 4 years ago

{$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. //-----------

dominikkv commented 4 years ago

Thx, I've had some struggle with this bug...

jaska45 commented 4 years ago

I had also some struggle. Please remove it also from uTPLb_SHA2.pas file.

RadiRadiesel2 commented 3 years ago

Any reasons why this is not goinf to be merged? Thx Michael