On Wed, 28 May 2003 12:06:45 +0200, Rein Klazes <[EMAIL PROTECTED]> wrote:
>Agent dies when handling a WM_SYSKEYUP message for the release of the >ALT key. >I checked under real windows. There this message is not sent, but a >WM_KEYUP message instead. > >The attached patch corrects the behaviour to what I see under Windows. > >Please give it a try. I don't know if I have only a bad run right now, but since I activated your patch now I have the crash always when sending a mail. From what you wrote, though, I don't think that the patch itself should do this, but it could be that there is some other bug as well, which causes this. But I can't say for sure. I had several weeks now, not a single crash, so that I thought that it is fixed already. On the other hands I had times when it crashed on every single mail, so this could be normal so far. :) >From what I managed to debug so far I noticed that some memory was overwritten. I set a breakpoint in WINPROC_CallWindow and check the lParam wich was ok (msg = 0x411). but when it came to the crash after that breakpoint hte memory lParam was pointing to was overwritten with a string. Before that it contained two pointers. the first pointer is still intact, but the second one is overwritten with a string "ent-format". This string is of course interpreted as pointer and referenced as such. Maybe that helps you a bit. -- Gerhard Gruber Für jedes menschliche Problem gibt es immer eine einfache Lösung: Klar, einleuchtend und falsch. (Henry Louis Mencken)