摘要: //开机启动函数function FirstRunSystem(bool: Boolean):Boolean;var Reg : TRegistry; begin Reg := TRegistry.Create; Reg.RootKey := HKEY_LOCAL_MACHINE; try Reg.OpenKey('\Software\Microsoft\Windows\CurrentVersion\Run',False); if bool then Reg.WriteString(Application.Title,Application.ExeName) else Reg. 阅读全文
posted @ 2013-04-17 17:27 狐狸乌鸦 阅读(195) 评论(0) 推荐(0) 编辑