|
Post by Jo on Apr 5, 2015 11:46:38 GMT -5
When pressing the vertical bar (german keyboard) on version 8.2.5085 SPFlite crashes with "Untrapped error #9..". Previous version 8.2.5064 had no problem. Did not change the KeyMap in this area, but I use a german keyboard. Jo Attachments:
SPFLiteCrash.txt (265 B)
|
|
|
Post by George on Apr 5, 2015 12:11:30 GMT -5
Jo I'll go have a look. There were no changes to KB handling, so it's a bit of a mystery.
George
P.S. OK, you mean the key beside the left shift key? Can you run the keyboard test program (in the SPFLite Start Menu folder) and tell me what it shows when you press that key?
I've tried using the German KB layout, and it seems to work fine, but then I don't have a real German keyboard and so I don't even have that key to test with.
Meanwhile, I'll have a quick review of the code to see. I did remember there was a change in how the key maps were loaded, maybe I mucked up the handling of these special foreign language keys.
George
|
|
|
Post by George on Apr 5, 2015 13:54:28 GMT -5
Jo: I think I spotted this looking at the code. The extra keys on foreign keyboards are handled by pointing the KB code at a dummy keymap table entry which is built at the beginning of the table as it is loaded. In the table loading re-write, the table was defined as a BASE 1 table where it had previously been a BASE 0 table. And when trying to point at the dummy entry, the code was still using an index of 0 (zero), thus the crash. Dumb error. I've posted another refresh version, can you try it out to see how it does? Just download, rename to SPFLite.EXE, and swap into your install directory. www.spflite.com/Files/SPFLite825095.ex_Yes, it's still 825095 like the previous, but the web site has been updated, please download again to get the latest version. George
|
|
|
Post by Jo on Apr 5, 2015 13:56:49 GMT -5
George: the key is to the rigth of the left shift-key, and left of the Y (YXC...). But I think, this keyplacement is unique to german keybords. Your keyboard probably has no key between the left shift and your Z (ZXC..). Hm, here is the KeyboardTest: Enter any key, or press ESC twice to cancel VK SC HEX DEC C *ALT *CTRL CAPS NUM SCR *SHIFT ENH KEYNAME == == === === = ==== ===== ==== === === ====== === ======= E2 56 7C 124 | RALT LCTRL ---- --- --- ------ --- Unknown key
Jo
|
|
|
Post by Jo on Apr 5, 2015 14:23:37 GMT -5
PS: On this same key, there is the "greater then" and "less than". Just pressing this key (no shift, no AltGr) produced the crash:
|
|
|
Post by George on Apr 6, 2015 12:06:53 GMT -5
Jo: see 2 posts back, have you tried the fixed version (825095) ?
George
|
|
|
Post by Jo on Apr 6, 2015 15:49:48 GMT -5
Oh, sorry, I overlooked that. Now downloaded and tested this new version and it works !!
Thanks Jo
|
|
|
Post by George on Apr 7, 2015 10:46:18 GMT -5
Jo: Thanks for the test. This kind of error is tough to test without the correct hardware. George
|
|