Exp=a
@end
                                        
//Ini_3:(ע⣺뱻ȵ)
//1ûȨŵĸ߰λ
//2ûȨŵĵͰλ
//ĿģĿģʹȨŵķʽǷûԼļע,ڽйģעʱһҪʹô˺
procedure Ini_3(W_HKey: string ; W_LKey: string );
const Max_Buffer= 8;
var
  PHKey, PLKey: array[0..Max_Buffer] of ansichar;
  HKEY,LKEY:ansistring;
begin
HKey:=WideStringToAnsiString(W_HKey);
LKey:=WideStringToAnsiString(W_LKey);
  StrLCopy(PHKey, pansichar(HKey), Max_Buffer);
  StrLCopy(PLKey, pansichar(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(pansichar(HKey),pansichar(LKey),'@f','@f.lll',KeyPath)<>0 then
	Application.MessageBox('עʧ','',0);
  end;

end;