Not knowing how you wrote your information to your virtual volume, I
couldn't tell you whether or not the code above should or should not
work. It appears you are accessing one file at the root level of the
virtual volume and reading it. You don't need to use a virtual volume
to do that. What you're doing is the same as reading a normal, single
file.
If you're trying to store and then read back a bunch of different
files, you would want to save them as children of root. Then when
reading them out, you would iterate over the items in root.
Well I read in some files then send them one by one to MakeVirVolume
I read the files in with BinaryStream,
MakeVirVolume(Readfrom.Read(f.item(i).Length))
MakeVirVolume( File as String)
realFile = GetFolderItem("").Child("VirVol")
vv = realFile.CreateVirtualVolume
If vv = Nil then
MsgBox "Unable to create virtual volume"
else
virtFile = vv.Root.child("Data")
outp = virtFile.CreateBinaryFile("special/any")
outp.write File
end if
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>