Declaration
property OnLog : TIEPortableDeviceLogEvent;
Description
Specify an OnLog handler to receive debugging information.
procedure TfrmMain.FormCreate(Sender: TObject);
begin
fPortableDevices := TIEPortableDevices.Create();
fPortableDevices.OnLog := AddToLog;
end;
procedure TfrmMain.AddToLog(Sender : TObject; const sMsg : String);
begin
memLog.Lines.Add( sMsg );
end;