I am working on a program designed to map a networked drive to a Linux Samba share. I have been requested to give the end users a way to select what drive they want to map. I know that some drives are off limits for use; (A:, C:, and the F:, I:, and L: drives we currently have mapped to servers elsewhere), but I'd like to be able to prevent other mapping conflicts as well. (Second CD/CDR/DVD drive, plugged in flash drives or zip drives, or even someone trying to run multiple copies of this program.)
I've tried setting every possible drive letter, then placing a TDriveComboBox component and removing anything that it mapped to, but the automated remove didn't work.
Does anyone here know of any way to do this in Delphi, or any components which can add this capacity to a program? And if so, would you please share it/them?
Thank you for your consideration.