in project file
---------------------------------------------------------
uses
  Windows

var
   HMutex: LongInt;
begin
  HMutex := CreateMutex(NIL,TRUE,'PuttysDuplicate');
  if (GetLastError = ERROR_ALREADY_EXISTS) then
  begin
    Exit;
  end;

'프로그래밍 언어 > Delphi' 카테고리의 다른 글

아이콘 구해오기  (0) 2007.03.31
델파이 레지스트리 저장하기  (0) 2007.02.08
Delphi 에서 UPX 사용  (0) 2007.01.14
블로그 이미지

용병

,