Bug? Copy to clipboard not working - HRESULT: 0x800401D0 (CLIPBRD_E_CANT_OPEN)

Alexander Stolte

Expert
Licensed User
Longtime User
When I click on "copy" in a function in a code comment, this error comes up.
The same error occurs when I try to copy an icon in Designer.

B4X:
[IDE message - 1:31:16]
An error occurred.
OpenClipboard fehlgeschlagen (Ausnahme von HRESULT: 0x800401D0 (CLIPBRD_E_CANT_OPEN))


But if I copy a line in the log, then no error comes and it works.
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
This error appears when another program locks the clipboard. Remote desktop apps for example.
But if I copy a line in the log, then no error comes and it works.
No explanation for this however normally you shouldn't get any error. Look for another app that is running and interfering with the clipboard.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…