Exp=a
@end
                                        
//Ini_3:(ע⣺뱻ȵ)
//1ûȨŵĸ߰λ
//2ûȨŵĵͰλ
//ĿģĿģʹȨŵķʽǷûԼļע,ڽйģעʱһҪʹô˺
procedure Ini_3(HKey: string; LKey: string);
const Max_Buffer= 8;
var
  PHKey, PLKey: array[0..Max_Buffer] of Char;
begin
  StrLCopy(PHKey, PChar(HKey), Max_Buffer);
  StrLCopy(PLKey, PChar(LKey), Max_Buffer);
  KeyLastError:= FindPort_4('@f', @p, PHKey, PLKey, KeyPath);
  if KeyLastError<> 0 then
  begin
    if KeyLastError= -102 then
      Application.MessageBox('ҲָļļļǷڳĿ¼£', '', 48)
    else
      Application.MessageBox('ָļȨŴ', '', 48);
  end
  else
     begin
	if E_Ex_3(PChar(HKey),PChar(LKey),'@f','@f.lll',KeyPath)<>0 then
	Application.MessageBox('עʧ','',0);
  end;

end;