Эх, откуда ж вы такие беретесь-то, неверующие.
РАЗ: Выдержка из хелпа:
Цитата:
Other than for certain debugging situations, you should never have a need to turn optimizations off. All optimizations performed by the Delphi compiler are guaranteed not to alter the meaning of a program. In other words, the compiler performs no "unsafe" optimizations that require special awareness by the programmer.
Note: Note: The $O directive can only turn optimization on or off for an entire procedure or function. You can't turn optimization on or off for a single line or group of lines within a routine.
|
Главную мысль я подчеркнул.
Код скопипастил из вашего поста, ничего не менял только добавил вызов.
ДВА:
Проход со включенной оптимизацией -
ТРИ:
Проход с отключенной оптимизацией -
Если у вас не изменилось - обновите драйвер hands.sys