vijirin
11-21-2006, 12:53 PM
hi all,
I have wrote a c program to eject cd's , when i connect a usb cd drive, and run the program, the cd tray peeps out a bit and enter back into the drive... After that when i try to access the drive it is giving error. But if i use the eject command at terminal it works properly...
i use the following code...
.
.
system(eject);
plz help... what could be wrong
thanking in advance...
I have wrote a c program to eject cd's , when i connect a usb cd drive, and run the program, the cd tray peeps out a bit and enter back into the drive... After that when i try to access the drive it is giving error. But if i use the eject command at terminal it works properly...
i use the following code...
.
.
system(eject);
plz help... what could be wrong
thanking in advance...