Plopidou à tous !.
Voilà, je vous explique mon petit soucis.
J'voudrais faire du monitoring de trafic in&out (naturellement... les deux).
Quand j'exécute le logiciel, j'obtiens des erreurs d'exécutions :
Mon code actuel est :
Merci d'avance
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 uses Windows, [...] TrafficUnit, IPHelper, IPHLPAP; [...] var Form1: TForm1; ActiveTraffic : TTraffic; implementation {$R *.dfm} procedure TForm1.TimerTimer(Sender: TObject); begin with ActiveTraffic do begin actuel_download.Caption := 'Download : ' + BytesToFriendlyString(InTotal); actuel_upload.Caption := 'Upload : ' + BytesToFriendlyString(OutTotal); end; end;.
Partager