Please login or register.

Login with username, password and session length
Advanced search  

News:

Forum rules - please read before posting, it can save you a lot of time.

Author Topic: suppressing Windows' AutoRun feature  (Read 3519 times)

0 Members and 1 Guest are viewing this topic.

jbw

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 24
    • View Profile
suppressing Windows' AutoRun feature
« 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 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...
Logged
 

Page created in 0.212 seconds with 18 queries.