On Mon, 26 Feb 2007 21:37:40 +0800, Zuxy Meng scribed: > +#ifdef WIN32 > + HANDLE hd; > + char device[] = "\\\\.\\D:"; > +#endif does this hardcode the device name? D: is not the dvd/cdrom drive on all systems. -compn