I have created a combo box in my program. I have a function named
add() which adds some files to the drive specified.
I searched Google on how to get the list of drives present in the computer, and found this:
DWORD var1 = 100;
DWORD drives = GetLogicalDriveStrings(var1, storeValue);
for (int i = 0;i < 100;i++)
I want to add the drives present in the computer to the combo box, so that my function can add files to the specified drive. How can I do this? It is quiet tricky for a beginner.
I am very well aware this will be easier when we create something to browse the drive but I wish to do this in my combo box.