473,382 Members | 1,396 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

How to manage a binary file as changeable drive

nd
Hi,

I'd like to create and manage a virtual drive. The contents of this drive
will be managed in a binary file. I don't know how to describe it better - if
you know the Daemon Tools that create a virtual CD-ROM drive vom an ISO image
file: That's exactly what I want to do, but not with ISO files.

But I don't know how to start. Can anybody give me a tip where I find some
documentation / howto / tips about managing virtual drives (in C# of course)?

Greetings,
nd

Nov 17 '05 #1
1 1377
Daemon Tools has its own device driver ( which is for sure not written in
..NET ). To accomplish what you want to do - you have to write the device
driver, that will be installed like a device on the system.

Device drivers operate on kernel mode, .NET operates in the user mode. So,
your application that will simulate virtual device, would consist of 2
parts: unmanaged device driver and .NET app that will communicate with the
driver via DeviceIoControl(....).

--
Vadym Stetsyak aka Vadmyst

"nd" <nd@discussions.microsoft.com> wrote in message
news:4B**********************************@microsof t.com...
Hi,

I'd like to create and manage a virtual drive. The contents of this drive
will be managed in a binary file. I don't know how to describe it better - if you know the Daemon Tools that create a virtual CD-ROM drive vom an ISO image file: That's exactly what I want to do, but not with ISO files.

But I don't know how to start. Can anybody give me a tip where I find some
documentation / howto / tips about managing virtual drives (in C# of course)?
Greetings,
nd

Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Arnold | last post by:
I need to read a binary file and store it into a buffer in memory (system has large amount of RAM, 2GB+) then pass it to a function. The function accepts input as 32 bit unsigned longs (DWORD). I...
8
by: Yeow | last post by:
hello, i was trying to use the fread function on SunOS and ran into some trouble. i made a simple test as follows: i'm trying to read in a binary file (generated from a fortran code) that...
12
by: Adam J. Schaff | last post by:
I am writing a quick program to edit a binary file that contains file paths (amongst other things). If I look at the files in notepad, they look like: ...
3
by: Loane Sharp | last post by:
Hi there I'm new to VB.NET programming and really programming in general. I have a small binary file on my website that I want to download programmatically onto my local hard drive. I can...
8
by: dagecko | last post by:
Hi I would like to know how to detect if a file is binary or not. It's important for me but I don't know where to start. Ty
2
by: Jon | last post by:
I have a sql table that hold binary files as blobs. Our customers store attachments for their work orders in them, anything from xml files to zip files. Normally, these files first exist on the...
16
by: Marcos de Lima Carlos | last post by:
Hi all, I have a VB aplicantion in many places. I need to manage databases over files on pen drive. What's the database i using to manage this program? My conditions is this: i have most...
24
by: pbd22 | last post by:
Hi. I want to know the size of a file (prior to FTP) in ASCII Mode. The reason is that I want to know how bit the file is going to be once it reaches the FTP server and there is a size...
2
by: tech101 | last post by:
Can I get the master (or slaves) to automatically remove the binary logs once they are processed by all slaves? It says in the mysql manual : If you are using replication, you should not delete...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.