accelerators and error-handling on mac
Hello, There was several topics on this list about accelerator problems on Mac OS. The problem discussed about Snow Leopard and LW 5.2 was fixed by a patch (thanks to the lw team). But now, testing my application with Leopard, I encountered exactly the same problem : using an accelerator for the first time - before opening the associated menu - generates an error and opens the Terminal (This problem was observed on an Imac dual core 2.8 ghz, OS Leopard, application delivered with lw 5.2 - Snow Leopard patch installed). I precise that the menu-item associated with the accelerator is *not* dynamically computed... In my application, I have an error handling system that analyses conditions and determines what to do according to the context : sometimes the application simply aborts, if the problem is harder it quits. In a beta-tester context, error messages are presented to the user, it's possible to enter the debugger, to get a report etc. To do that, I deliver at level 4 (so, with the keep-debug-mode argument to T) My problem is that, with this system, I cannot catch errors witch are not generated by my own codes... As, for instance, this accelerator error. So, I'm looking for a solution to avoid *completely* that the Terminal application opens when an unknown error occurs - if possible without losing the advantages of my error-handling system. Thanks a lot for any suggestion Denis ------------------------------------------------------- Denis Pousseur 70 rue de Wansijn 1180 Bruxelles, Belgique Tel : 32 (0)2 219 31 09 Mail : denis.pousseur@gmail.com -------------------------------------------------------