Help: "Error in the message queue"

English main discussion
  • Author
  • Message
Offline
Posts: 9
Joined: Fri Jan 10, 2025 11:25 pm

Help: "Error in the message queue"

Post by Cleverson »

Hello,
I'm getting a dialog box which says "Error in the message queue", with an OK button. When I click OK, AkelPad closes. I'm not sure if the wording is exactly that, because I'm using AkelPad in Brazilian Portuguese. Is it a known bug?
I haven't yet found the exact steps to reproduce the bug, but it seems to occur when I cut some text, though not each time I do it.
In my previous machine, I was using AkelPad 4.9.8 on Windows 11, and this error didn't happen. Now I have a new machine running the latest Windows 11 and the new AkelPad 4.9.9.

Thanks for any help.

Offline
Site Admin
Posts: 6411
Joined: Thu Jul 06, 2006 7:20 am

Re: Help: "Error in the message queue"

Post by Instructor »

Can you write what code in queue error message shown in test version x86 / x64?

Offline
Posts: 9
Joined: Fri Jan 10, 2025 11:25 pm

Re: Help: "Error in the message queue"

Post by Cleverson »

Thanks, I'm waiting for the error to appear again.

Offline
Posts: 9
Joined: Fri Jan 10, 2025 11:25 pm

Re: Help: "Error in the message queue"

Post by Cleverson »

OK, the error occurred; the message is:
Error in message queue (1400).

For context, it occurred when I closed a file. the file is small, only 36 bytes, and was'nt modified. I'm not sure whether this is the same error that occurs in the stable version, since this test version didn't close when I press OK on the error dialog. In the stable version, AkelPad closes.
Just now after the error, I opened the same file again, then closed it, and the error didn't occur this time.

Offline
Site Admin
Posts: 6411
Joined: Thu Jul 06, 2006 7:20 am

Re: Help: "Error in the message queue"

Post by Instructor »

1400 is ERROR_INVALID_WINDOW_HANDLE
In the stable version, AkelPad closes.
Code was changed. AkelPad will not close on error.

We can monitor the error: does it occur only when a window is closed.

Offline
Posts: 9
Joined: Fri Jan 10, 2025 11:25 pm

Re: Help: "Error in the message queue"

Post by Cleverson »

In fact, It may be window related. Now it occurred again, right when I pressed alt+tab on my keyboard to change from AkelPad to another application. But it's really random. I went back to AkelPad, then changed to another application again using alt+tab, and no error this time.

Offline
Site Admin
Posts: 6411
Joined: Thu Jul 06, 2006 7:20 am

Re: Help: "Error in the message queue"

Post by Instructor »

Can you send/share you akelpad folder (with settings in ini)?

Offline
Posts: 9
Joined: Fri Jan 10, 2025 11:25 pm

Re: Help: "Error in the message queue"

Post by Cleverson »


Offline
Site Admin
Posts: 6411
Joined: Thu Jul 06, 2006 7:20 am

Re: Help: "Error in the message queue"

Post by Instructor »

Access denied on link.

Offline
Posts: 9
Joined: Fri Jan 10, 2025 11:25 pm

Re: Help: "Error in the message queue"

Post by Cleverson »

Sorry; I've just given you access now.

Offline
Site Admin
Posts: 6411
Joined: Thu Jul 06, 2006 7:20 am

Re: Help: "Error in the message queue"

Post by Instructor »

This is AkelFiles folder. Need root AkelPad folder with AkelPad.ini file.

Offline
Posts: 9
Joined: Fri Jan 10, 2025 11:25 pm

Re: Help: "Error in the message queue"

Post by Cleverson »

OK, here is the link; access granted already:
https://drive.google.com/file/d/1H2Z7BJ ... sp=sharing

Offline
Site Admin
Posts: 6411
Joined: Thu Jul 06, 2006 7:20 am

Re: Help: "Error in the message queue"

Post by Instructor »

Checked. Nothing suspicious.

May be you have some resident software that hooks messages, such as translator, keyboard corrector, etc?

Offline
Posts: 9
Joined: Fri Jan 10, 2025 11:25 pm

Re: Help: "Error in the message queue"

Post by Cleverson »

Just FYI, I'm still trying to determine the cause of this problem. when I restart my system, it stops happening for a while. It appears to start again when the system suddenly re-arranges the windows in the desktop. Such re-arrangement appears to be caused by Microsoft Teams, an app I don't like at all, but unfortunately is required by my employer for online meetings.

Offline
Site Admin
Posts: 6411
Joined: Thu Jul 06, 2006 7:20 am

Re: Help: "Error in the message queue"

Post by Instructor »

At least AkelPad now doesn't close when an error occurs.
Post Reply