Цитата:
| | |
| 1) App gets HWND/process IDs of application being run. 2) App runs the application. 3) It kills its threads as soon as a HWND and thread ID is gathered. 4) From there, the most recent DirectDraw application ID is gathered. Since it was the app to be patched, it copies it to a variable. 5) This variable, along with the needed flags makes a compatibility profile in the Registry for Windows Vista/7 to use with that application, only. It won't affect other parts of your registry. The key name used comes from the application's window class name/IDs. | |
| | |
Судя по-видимому, в итоге делает то, что надо, но первые 4 шага - костыли.
Гораздо проще работает DirectDrawFix:
http://www.xomicron.com/software/directdrawfix/Потому что ID заложен в приложении.
Ещё, в оконном режиме багов с цветом не бывает никогда. Там идёт эмуляция 8-битной глубины цвета, сохраняя 32-битное пространство в системе.
То же самое касается и Windows 8 - там бага с цветом не существует и в помине. Там всё 32-битное.