Exp=a
@end
                                        
{
//ע⣺ڱܹʱҪеSoftKey.pas,yt.objӵҪܵĹڵĿ¼,øõԪ
var
KeyLastError: integer= 0;//ڴҪȫֱKeyLastErrorĴ,ֵGetYLastErrorȡ
KeyPath: AnsiString= '';//ڴҪȫֱ,豸ڵ豸·
}


//******************ע*********************//
//ڳʼʱȵInịҶӦļڵ豸·
//ҵӦļὫ·ڼԪ(SoftKey.pas)KeyPathУ
//ԱCal_2ĵã
//磺ڳ򴴽ʱ͵Inị
procedure Ini;
var
  KeyInPath: array[0..Max_Path] of AnsiChar;
begin
  KeyLastError:= FindPort_3(PAnsiChar('@f'), @p, KeyInPath);
  if KeyLastError= 0 then
    KeyPath:= KeyInPath
  else
    begin
    if KeyLastError= -102 then
      Application.MessageBox('ҲָļļļǷڳĿ¼£','',0)
    else
      Application.MessageBox('ָļ','',0);
    end;
end;