CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Location
    Alabama USA
    Posts
    32

    Q: Accessing CD-ROM without prompt?



    Currently, I am prompting the user for the drive letter of the CD-ROM before I start to copy files from the CD. Is there a way around this (a way in which I don't have to prompt the user)?


    Thanks in advance!



  2. #2
    Join Date
    Apr 1999
    Location
    Alabama
    Posts
    20

    Re: Q: Accessing CD-ROM without prompt?



    you can step through the available drives until you find the cdrom.

    use GetDriveType and check for a return value of DRIVE_CDROM


    Hope this helps,

    Gary Kirkham



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured