Hi.
a)I start Amplayer.exe and I view *.mp4 an one short-movie with size<100Mb on my Display.Level-Hdd-acitivity=40%(Now-LHA=40%)
b)I start copy *.file.iso to Usb or to other Partition on same Hdd. with
"DoubleCommander."
C:Q1=Exists one method to store in memory 0%...100% of "LHA=Hdd activityLevel"?
I start b) . but if I copy*.iso with "lazarus pascal-source", I need always, each step
control the Level-Hdd-activity. and my App.pas and ,App.exe , when
LHa>40%, my routine +windows.copyfilet delay then windows.copyfilet until
LHa<40%; or slow-down the speed of "windows.copyfilet"
I try only "Calibrate the speed of windows.copyfilet each by each speed" and
my App copy only LHA is less 40%.
Var prv40,nowLHAHdd:real;
Begin
prv40:= Chaijnax_get_LHA('C:');
if (prv40<1.0) then prv40:=40/100.0;
nowLHaHdd:=Chaijnax_get_LHA('C:');
while (nowLHaHdd>prv) do begin sleep(20);nowLHaHdd:=Chaijnax_get_LHA('C:');End;
..... Here to continue-tocopyfile...
End;
AmPlayerC.exe show Mp4 together copy .iso to Usb , the AmPlayerC.exe increase
LHAmyHdd to 30%.
Level-Hdd-activity >to store Hdd-Level-activity (eg. after a myHdd have 40%)

C:Q2=
In really fact, he=myapp.pas do not calibrate LHA, he only (calibrate the windows_copyfile.pas) follow the reading LHA of Hdd 10%..90%.
[/b]
Please wait 1day, I will share same source .pas
Thanky