access to devices

This is a discussion on access to devices within the C++ Programming forums, part of the General Programming Boards category; hi, Im using device IO control to get access to the physical disks on my machine. So far i have ...

access to devices

hi, Im using device IO control to get access to the physical disks on my machine. So far i have a program to access the first 3 physical disks, but when i come to access the 4th my program stops working?!!? I have 4 physical disks in my machine so i was wondering if it is a case of device io control only allowing access to 3 physical disks at a time? surely this cant be right as im closing the handles on each disk after im finished?

Im sorry this is a bit of a random questions and i understand if no one has any idea what im talking about but in this case im not sure that posting my code will help any