Le 20 juil. 11 à 18:40, Christian Schmitz a écrit:
> Am 20.07.2011 um 18:33 schrieb Arnaud Nicolet:
>
>> Greetings,
>>
>> But, sometimes, classes should not be used more than once in
>> an app (like the "random" class). Is it ok for the FSEvent?
>
> It should work fine.
Nice, thanks!
However, I'm currently trying my application, but it's weird: the
Available property is false (I'm on 10.5.8). This is my code (FSE1 is
the control on the window, currently alone as I'm debugging with only
one for now):
if FSE1.Available then 'False is returned
//Add every trash to a list:
for i=0 to VolumeCount-1
f=GetTrashForVolume(Volume(i))
if f<>nil then
g.Append f
end if
next
FSE1.Constructor(g,&hFFFFFFFFFFFFFFFF,1,2) 'Call the constructor,
asking for "since now" with flags of 2.
b=FSE1.Start
if not b then
MsgBox "Pas b."
end if
end if
I've even tried to move the for/next loop and constructor before the
"if FSE1.Available then" line, in case Available would be true only
after the constructor is called, but it's still false. Maybe File
System events are disabled on my system?
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info