I need to get the device id/location for a cd drive.
It should be in the format of 1,0,0 or something like that.
Is there any way to do this in Lingo, or with an xtra, or
through a command prompt?
BuddyAPI can do that with baDriveInfo(), but the number it
not necessarily what you want. It will be the ID of the CD in
drive, not the drive itself. I do not know of a way to get a
serial number or anything off a removable drive. If you need
computer ID, the standard way is to use some combination of
hard drive serial number (which you can also get with
along with some system stats like CPU or memory...
If you are doing this as some sort of DRM or protection
method, the best
way is to set up a server online and have each installation
itself with some system info or a unique serial number.