Замените if abs(ETP-ET) < 0.05 and j>10:
на if abs(ETP-ET) < 0.05 or j>10:
и удалите отступ в return OUT
, чтобы он вышел из цикла while.
Вы могли не зарегистрировать управление в
regsvr32 /u badboy.ocx
в командной строке. Хотя я предложил бы тестировать эти вещи в VMware.
Use a virtual machine. Start fresh as often as you want, and stop doing these hacks that may or may not simulate a clean machine.
Seriously, use VMWare or VirtualPC.
Tools > Manage Add-ons, right click "Name" header and enable the "In Folder" section. go to the directory for the plugin you're interested in. Right click the plugin file, and click "remove".