Is there a way to to eject the cd when the program is closed
Announcement
Collapse
No announcement yet.
Eject CD
Collapse
X
-
Re: Eject CD
Here you go.
Download this (its a DLL made for opening/closing CD tray)
Put it in your project folder.
Set action: File > Call DLL Function
Settings for DLL:
Name: %SrcDir%\dsdrive.dll (or wherever you put it)
Function Name: Eject
Function Params: "d:",0,1 (or use %SrcDrv% var for the dir that AMS is located in)
Value Type: String
Return Type: __cdecl
Tested and works just fine [img]/ubbthreads/images/icons/smile.gif[/img]
Only 5.5kb
Enjoy!
Adam
Comment
Comment