CreateMutex(Nil, true, 'Your Self Name'); //你进程的唯一名称
if GetLastError =ERROR_ALREADY_EXISTS then //表示这个进程的名称已经运行了
begin
end
CreateMutex(Nil, true, 'Your Self Name'); //你进程的唯一名称
if GetLastError =ERROR_ALREADY_EXISTS then //表示这个进程的名称已经运行了
begin
end