On OS X these count actual mounted volumes.
On Windows this seems to count "drives".
I have a PC with 2 hard drives and a multi-port media reader, a DVD drive and a CD. Except for the 2 hard drives none of the other devices has a CD, DVD or other media cards in them.

A loop like

        dim i as integer
        dim limit as integer
                
        limit = VolumeCount - 1

        for i = 0 to limit
        
                listbox1.addrow volumes(i).absolutePath

        next

lists only the actual volumes on OS X

On Windows I get and entry for every device regardless of whether it has media in it or not.
Is that "correct" ?
Seems a rather huge distinction between the two platforms.
That's one issue.

However, on Windows IF I happen to hold a Folderitem for each volume and a person ejects a volume, how do I test the folderItem to see if it is valid any longer and NOT get the "There is no disk in the drive Abort Retry Ignore" dialog ?

I've tried FoldereItem.exists but that seems to prompt for a disk when the drive is empty which is what I really want to avoid.
Is there any way to tell if a Windows "Volume" has media in it ?

Norman Palardy
OS X 10.4.6 / MacBook Pro 2.16Ghz MHz / 1Gb RAM



_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to