kapucu1971 Posted August 1, 2012 Share Posted August 1, 2012 globalda function CDtray(nCDROM, nOC) return DLL.CallFunction("AutoPlay\\Docs\\CDtray.dll", "CDtray", nCDROM.." ,"..nOC, DLL_RETURN_TYPE_INTEGER, DLL_CALL_STDCALL); end kodu yazılı açma butonunda CDtray(0, 1); Dialog.TimedMessage(" CDtray", "CD açıldı", 1000); cd rom açılıyor bu kodlarla ben istiyorumki cd romu olanlar bu kodu yazsın dvdrom olanlar dvdroma göre ayarlasın ama buraya yazacağımız kodla pcsinde cd romu olanada cdromu olmayıp dvdsi olanada aynı anda hitap etsin kodu nasıl dvdromuda kapsayacak şekilde genişletebilitriz Quote Link to comment Share on other sites More sharing options...
yorgun63 Posted August 1, 2012 Share Posted August 1, 2012 bişey anladımsa arap olim Quote Link to comment Share on other sites More sharing options...
Editor pairs Posted August 1, 2012 Editor Share Posted August 1, 2012 Example dosyasında var kardeşim. [code]drive_type = Drive.GetType(_SourceDrive); -- If the drive type is a CD/DVD ROM drive, eject it. if (drive_type == DRIVE_CDROM) then Drive.Eject(_SourceDrive); end[/code] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.