Creating/reading/writing a virtual hard disk file

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hello everyone!
So I want to make my program to read/write from a virtual hard disk file (vhd), I know it could take in alot of memory and that I have to make custom methods to write/read from it.<br/>
<br/>
But Ive been working on a file system based class that I load/save using the binaryformatter<br/>
<br/>
It look something like this
FileSystem<br/>
- Root (PODirectory)<br/>
- Directories (PODirectory array)<br/>
- Files (POFile array)<br/>
<br/>
And I made some methods to write/read/create/open files and create/open directories.<br/>
<br/>
So do you think it will be possible (no need to load the vhd files as a real hard drive in the current system) I just want to read/write to it so it can behave as a single file file system for my application like my current serialized one does.<br/>
<br/>
Thank you very much!
<br/>
<hr class="sig Hope This Helps! <br/>
<br/>
If this post answers your question, please click <b>"Mark As Answer"</b>.<br/>
If this post is helpful please click <b>"Mark as Helpful"</b>.<br/>
Else you got to wait until a MVP or MCC replies they are the <b>"PROs"
</b><br/>

View the full article
 
Back
Top