📄 poll.dpr
字号:
program poll;
uses
Forms,
// Windows,
Main in 'Main.pas' {frmLyPoll},
AdvOcr in 'AdvOcr.pas',
// HTTPtask in 'HTTPtask.pas',
// HTTPutil in 'HTTPutil.pas',
Post in 'Post.pas',
Define in 'Define.pas';
{$R *.res}
VAR
MutexHandle: THandle;
begin
// Use Mutex to only allow one copy of XXXXX to be in memory at a time
// MutexHandle := 0;
//
// TRY
// MutexHandle := CreateMutex(NIL, TRUE, 'TfrmLyPoll');
// IF GetLastError = ERROR_ALREADY_EXISTS
// THEN BEGIN
// SetForegroundWindow(FindWindow('TfrmLyPoll', NIL));
// CloseHandle (MutexHandle)
// END
// ELSE BEGIN
Application.Initialize;
Application.CreateForm(TfrmLyPoll, frmLyPoll);
Application.Run;
// END;
// FINALLY
// ReleaseMutex(MutexHandle);
// END;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -