Announcement

Collapse
No announcement yet.

Eject CD

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Eject CD

    Is there a way to to eject the cd when the program is closed

  • #2
    Re: Eject CD

    I have an .exe I can give ya as soon as my website is back up...Stay tuned.

    Comment


    • #3
      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


      • #4
        Re: Eject CD

        Oh, and also, that will work for any type of removable media (other than floppies).

        So ZIP drives will work, etc. Good luck! [img]/ubbthreads/images/icons/smile.gif[/img]

        Comment

        Working...
        X