I want to create a virtual drive

This is a discussion on I want to create a virtual drive within the Windows Programming forums, part of the Platform Specific Boards category; I want to create a virtual drive, maybe 50-100 MB in size. I would need to program a device driver ...

  1. #1
    Registered User
    Join Date
    Jun 2005
    Posts
    8

    I want to create a virtual drive

    I want to create a virtual drive, maybe 50-100 MB in size. I would need to program a device driver for it I suppose, im not realy sure how to do it. One file will be the drive, and it can be mounted as E: or F: or whatever.

    My question is, how do I go about doing it?

    Also, second question is, how would I go about password protecting its contents?

    What I am using is Visual C++

    Thanks for your help!
    Last edited by CPPguy1111; 06-26-2005 at 03:31 AM.

  2. #2
    Registered /usr
    Join Date
    Aug 2001
    Location
    Newport, South Wales, UK
    Posts
    1,255
    Microsoft have a sample RAM disk drive (i.e. a drive whose contents reside in system memory) device driver. You should be able to Google for it and modify it so it refers to an image file instead of memory.

    That said, getting the DDK to work is easier said than done.

  3. #3
    Registered User
    Join Date
    Jun 2005
    Posts
    8
    I guess that might work if I had windows 2000 or XP? I have windows 98. Will that work? Guess I will have to take a look at the source code if I can comprehend, if it is well commented.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 48
    Last Post: 09-26-2008, 03:45 AM
  2. Program with Shapes using Virtual Functions
    By goron350 in forum C++ Programming
    Replies: 12
    Last Post: 07-17-2005, 01:42 PM
  3. virtual ports
    By royuco77 in forum Networking/Device Communication
    Replies: 5
    Last Post: 07-02-2005, 10:33 AM
  4. abstract class
    By xddxogm3 in forum C++ Programming
    Replies: 5
    Last Post: 01-01-2005, 08:08 AM
  5. virtual or pure virtual
    By Unregistered in forum C++ Programming
    Replies: 1
    Last Post: 12-01-2001, 06:19 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21