- Problem solved again

From: Martin, Marc <"Martin,>
Date: Tue, 5 Sep 2006 14:51:11 -0700

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

> Okay, now I've rewritten my code so that f.Input will not
> be called more then 3 times per second. Now Alexander's
> new fix doesn't slow my program down a noticeable amount.

Oh, I spoke too soon... this new fix causes a crash where
the standard distribution and the original fix did not.
If my trajectory code opens a window which is sized larger
than the Blackbox application window, the original BB 1.5
added scrollbars to the Blackbar application window.
With the new fix, I instead get a trap:

-------------------------------------------------------------

NIL dereference (read)

 Ports.Frame.Input [00000859H]
        .f Ports.Frame [011138D0H]
        .isDown BOOLEAN FALSE
        .modifiers SET {3, 5, 6, 10, 12..15, 17, 21}
        .u INTEGER 1642418874
        .x INTEGER 17530272
        .y INTEGER 1652315891

-------------------------------------------------------------

So, again, back to the original fix, which was efficient
and didn't crash!

Marc

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



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

e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwID4gT2theSwgbm93IEkndmUgcmV3cml0dGVuIG15
IGNvZGUgc28gdGhhdCBmLklucHV0IHdpbGwgbm90XHBhcg0KPiBiZSBjYWxsZWQgbW9yZSB0aGVu
IDMgdGltZXM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
IDE2NDI0MTg4NzRccGFyDQpcdGFiIC54XHRhYiBJTlRFR0VSXHRhYiAxNzUzMDI3MlxwYXINClx0
YWIgLnlcdGFiIElOVEVHRVJcdGFiIDE2NTIzMTU4OTFccGFyDQpccGFyDQotLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tXHBhcg0KXHBh
cg0KU28sIGFnYWluLCBiYWNrIHRvIHRoZSBvcmlnaW5hbCBmaXgsIHdoaWNoIHdhcyBlZmZpY2ll
bnRccGFyDQphbmQgZGlkbid0IGNyYXNoIVxwYXINClxwYXINCk1hcmNccGFyDQpccGFyDQotLS0g
QmxhY2tCb3hccGFyDQotLS0gc2VuZCBzdWJqZWN0IEhFTFAgb3IgVU5TVUJTQ1JJQkUgdG8gYmxh
Y2tib3hAb2Jlcm9uLmNofX0AUCwgNQZRcFIgAQ=


----boundary-LibPST-iamunique-1856224190_-_---
Received on Tue Sep 05 2006 - 23:51:11 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:27:48 UTC