Hi all,

Using DirectorySizeMBS as shown in the MBS doc, I get the size of my 
data folder, and then (5-10 seconds later), my app crashes with a 
c0000005 code (Access Violation).

In the Run event of a thread:

       Dim d as DirectorySizeMBS
       Dim Size As UInt64

       d= Source.CalculateDirectorySizeMBS(True,6,False,-1)
       Size=d.PhysicalTotalSize
       File_Folder_Info=SizeUnit(Size)+", "+Str(d.FilesCount)+" 
fichiers, "+Str(d.FolderCount)+" dossiers"

Then File_Folder_Info is displayed in the GUI using a thread:

     Window1.SizeCalc_Timer.Mode=Timer.ModeSingle

Could this be due to the DirectorySizeMBS function, or am I doing 
something wrong?

TIA

-- 
Jean-Luc Arnaud


_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to