XBasic3000
XBasic3000

Reputation: 3486

how create a virtual drive

Are there any known delphi components or code that creates a simple virtual drive that links to a single file. example ISO file? but this time, can be read and write.

Upvotes: 1

Views: 2129

Answers (2)

Belkhir Begaa
Belkhir Begaa

Reputation: 1

السلام عليكم

I use this simple method SUBST

ShellExecute(Handle,'','subst',' Z: d:\data',nil, SW_NORMAL) ;

Upvotes: 0

user166390
user166390

Reputation:

Writing a "virtual drive" requires writing a kernel-level device emulation driver (a "SCSI miniport"-based drivers seem fairly popular), which generally means C/C++ -- and that is just the start ;-)

Not a trivial task. There may be some existing [open source] code solutions that get at least some of the way there...

Here are what I have been able to find with some quick google goggles:

However, if all you need is a tool to create an ISO/VHD from a directory and not a real "virtual drive" (or, at least a virtual driver someone else is providing), then that might be a far simpler integration task...

Happy coding.

Upvotes: 3

Related Questions