Wintermute Engine Forum

Wintermute Engine => Feature requests, suggestions => Done => Topic started by: jbw on November 16, 2007, 10:32:11 PM

Title: suppressing Windows' AutoRun feature
Post by: jbw on November 16, 2007, 10:32:11 PM
Let's imagine the game installed on the HDD, but it reads some data from the CD occasionally. We may not keep the CD in the drive all the time, instead insert it on the request. If the CD volume have the "autorun.inf" file, each time it launches the game installer. In the fullscreen mode we cannot see it, but after the end of the game we have a bunch of "Setup" dialogs stacked on the screen.

Obviously it would be better to prevent from running wild things from CD at the time we're playing the game. Fortunately it is quite easy, as described on http://msdn2.microsoft.com/en-us/library/bb776825.aspx (http://msdn2.microsoft.com/en-us/library/bb776825.aspx) and needs only few lines of code. It requires access to the game's message loop so cannot be made as the plugin. Please do it for us Obi-Jan, as you are our only and last hope...