initialization
begin
CreateFileMapping($FFFFFFFF, nil, PAGE_READWRITE, 0, 1, 'CM');
if GetLastError = ERROR_ALREADY_EXISTS then
begin
ShowMessage('CM이 이미 실행중입니다...');
Halt;
end;
{ CreateMutex(nil, True, 'DUP_EXECUTION');
if GetLastError = ERROR_ALREADY_EXISTS then
begin
ShowMessage('RealCont[계약관리] 프로그램이 이미 실행중입니
다...');
Halt;
end;
}
end;