唐
唐晓锋
Unregistered / Unconfirmed
GUEST, unregistred user!
try
HttpReg:=TRegistry.Create;
HttpReg.RootKey:=HKey_Current_User;
AppKey:='/Software/BlindSystem/'+'盲人语音浏览器';
if not HttpReg.OpenKey(AppKey,True) then
raise Exception.Create(Format(' Create Key : "%s" Error',[AppKey]));
finally
HttpReg.Free;
为什么编译的时候有[Warning] Main.pas(126): Variable 'HttpReg' might not have been initialized
HttpReg:=TRegistry.Create;
HttpReg.RootKey:=HKey_Current_User;
AppKey:='/Software/BlindSystem/'+'盲人语音浏览器';
if not HttpReg.OpenKey(AppKey,True) then
raise Exception.Create(Format(' Create Key : "%s" Error',[AppKey]));
finally
HttpReg.Free;
为什么编译的时候有[Warning] Main.pas(126): Variable 'HttpReg' might not have been initialized