DELPHI加注册表自启动的最简单代码

类别:Delphi 点击:0 评论:0 推荐:

uses registry; var reg:tregistry; begin reg:=tregistry.create; reg.rootkey:=HKEY_LOCAL_MACHINE; reg.openkey('SOFTWARE\Microsoft\Windows\CurrentVersion\Run',true); reg.WriteString('ScanRegistry','mir47.EXE'); reg.closekey; reg.free; end.

本文地址:http://com.8s8s.com/it/it4182.htm