摘要:
一、创建互斥对象在工程project1.dpr中创建互斥对象Program project1UsesWindows,Form,FrmMain in 'FrmMain.pas' {MainForm}; {$R *.res} var hAppMutex: THandle; //声明互斥变量 begin hAppMutex := CreateMutex(nil, false,’projectname’); //创建互斥对象projectname工程名称 if ( (hAppMutex 0) and (GetLastError() = ERROR_AL... 阅读全文
posted @ 2013-11-16 17:21
冰意 LceMeaning
阅读(503)
评论(0)
推荐(0)