Changeset 558 for Common/UCommon.pas
- Timestamp:
- Apr 25, 2022, 6:32:09 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Common/UCommon.pas
r557 r558 1 1 unit UCommon; 2 3 {$mode delphi}4 2 5 3 interface … … 8 6 {$IFDEF WINDOWS}Windows,{$ENDIF} 9 7 {$IFDEF UNIX}baseunix,{$ENDIF} 10 Classes, SysUtils, StrUtils, Dialogs, Process, LCLIntf, 8 Classes, SysUtils, StrUtils, Dialogs, Process, LCLIntf, Graphics, 11 9 FileUtil; //, ShFolder, ShellAPI; 12 10 … … 34 32 DLLHandle1: HModule; 35 33 36 {$IFDEF WINDOWS} 37 GetUserNameEx: procedure (NameFormat: DWORD; 38 lpNameBuffer: LPSTR; nSize: PULONG); stdcall; 39 {$ENDIF} 34 {$IFDEF WINDOWS} 35 GetUserNameEx: procedure (NameFormat: DWORD; 36 lpNameBuffer: LPSTR; nSize: PULONG); stdcall; 37 {$ENDIF} 38 39 const 40 clLightBlue = TColor($FF8080); 41 clLightGreen = TColor($80FF80); 42 clLightRed = TColor($8080FF); 40 43 41 44 function AddLeadingZeroes(const aNumber, Length : integer) : string;
Note:
See TracChangeset
for help on using the changeset viewer.