- Ctrl+Break patch

From: [at]} <Alexander>
Date: Tue, 16 Jan 2007 04:58:54 +0600

----boundary-LibPST-iamunique-1081783203_-_-
Content-type: text/plain

Hello, Alexander!

AI> Description: Patch fixing Ctrl+Break functionality.
AI> Author: Alexander Iljin, 24.09.2006.
AI> Problem: Ctrl+Break key combination does not interrupt hung program
AI> very well.
AI> Changes:
AI> - fixed Kernel.KeyboardWatcher procedure;
AI> - linked BlackBox.exe with new Kernel module.

AI> To install patch replace files in BlackBox installation directory with
AI> corresponding files from this patch. You must close BlackBox before
AI> replacing BlackBox.exe.

  I forgot to mention, that as a side-effect of the patch Ctrl+Break
  will interrupt hanging BlackBox even if another application is
  currently active and you may think that you address Ctrl+Break to
  that application.

  You see, the key combination is registered globally in the system,
  not only for BlackBox. Before the patch, BlackBox's watcher thread
  tried to ignore Ctrl+Breaks if they were send with BlackBox not
  being currently active. That's precisely why it stopped working when
  we moved from Windows 98 to Windows XP. When a program is being too
  busy for a while, it is not active anymore. Instead the Explorer
  is active, replacing the offending window with its own, with
  "...is not responding" in the title bar. Thus, Ctrl+Break didn't
  work.
  I simply removed the "who is active?" check. Now you may interrupt
  BlackBox' execution from anywhere. Call it a feature.

---=====---
 Alexander

--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy


----boundary-LibPST-iamunique-1081783203_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"

e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjB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VyZS5ccGFyDQpccGFyDQotLS09PT09PS0tLVxwYXINCiBBbGV4
YW5kZXJccGFyDQpccGFyDQotLS0gQmxhY2tCb3hccGFyDQotLS0gc2VuZCBzdWJqZWN0IEhFTFAg
b3IgVU5TVUJTQ1JJQkUgdG8gYmxhY2tib3hAb2Jlcm9uLmNofX0ACA4AADgqfwADAA==


----boundary-LibPST-iamunique-1081783203_-_---
Received on Mon Jan 15 2007 - 23:58:54 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:32:02 UTC