PDA

View Full Version : Finding out drive letter?



Strahan
16.03.2005, 16:19
Operating System: Win XP
Burning Software: N/a
Anti-virus Software: N/a
DAEMON Tools Version: 3.47

Hi. I wrote a launcher for a game I like and I wrote it to support ISOs. I want the program to be able to detect if the ISO is loaded and give me the option to unload/load. I can do the loading/unloading easily by shelling to daemon.exe but how can I tell if the iso is loaded? With Alcohol I just put in the ini file the drive Alcy is using then do an if file exists drive:\setup.exe to be able to find that out. But with Daemon, it's a number and I can't figure out how to resolve a drive letter from the number.

Thanks!