Delphi TIPS :: When a user inserts a CD into a CD drive, Windows AutoRun feature opens up an instance of Windows Explorer to display the content of the CD.
AutoRun might interfere with the operation of your Delphi application (asking for a user to insert a series of CDs) and need to be disabled for the duration.
Here's how to grab the "QueryCancelAutoPlay" Windows message, and programmatically decide whether the Windows Explorer should show up.
Read the full article to learn how to Programmatically Enable and Disable CD Auto-Run / Auto-Play
Related:
Comments
No comments yet. Leave a Comment

