Changeset 360 for Common/UCommon.pas


Ignore:
Timestamp:
May 7, 2012, 10:32:41 AM (12 years ago)
Author:
chronos
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Common/UCommon.pas

    r358 r360  
    4949function SplitString(var Text: string; Count: Word): string;
    5050function GetBit(Variable: QWord; Index: Byte): Boolean;
    51 procedure SetBit(var Variable: QWord; Index: Byte; State: Boolean);
    52 procedure SetBit(var Variable: Cardinal; Index: Byte; State: Boolean);
    53 procedure SetBit(var Variable: Word; Index: Byte; State: Boolean);
     51procedure SetBit(var Variable: QWord; Index: Byte; State: Boolean); overload;
     52procedure SetBit(var Variable: Cardinal; Index: Byte; State: Boolean); overload;
     53procedure SetBit(var Variable: Word; Index: Byte; State: Boolean); overload;
    5454function AddLeadingZeroes(const aNumber, Length : integer) : string;
    5555function LastPos(const SubStr: String; const S: String): Integer;
     
    413413procedure OpenFileInShell(FileName: string);
    414414begin
    415   ExecuteProgram('cmd.exe /c start ' + FileName);
     415  ExecuteProgram('cmd.exe /c start "' + FileName + '"');
    416416end;
    417417
Note: See TracChangeset for help on using the changeset viewer.