I searched the FAQ for this NG and found no answers to my question...
I'm writing an application in Java (I'm not a C programmer), however I
need to be able to detect WHICH drive (d:\, e:\ etc...) on a win2k
machine the CDROM drive is on. I assume that C or C++ can do this. The
C/C++ code will then be wrapped in a JNI layer to be used by the java
code.
Basically, all I want the C code to do is return a letter
corresponding to the drive the CDROM is on. Is there any code
available that does this?
thanks,