RaelB 4 Posted February 28, 2023 Hi, Some users who do not have the ENG-US keyboard installed, report that when app starts, the ENG-US keyboard is added to the system. Any ideas what is causing this? Is it VCL, or maybe a third party control (such as TRichview)? Thanks Share this post Link to post
Remy Lebeau 1394 Posted February 28, 2023 The VCL certainly does not install new keyboards. Share this post Link to post
aehimself 396 Posted February 28, 2023 (edited) Does the app call LoadKeyboardLayout without KLF_SETFORPROCESS? Edited February 28, 2023 by aehimself Share this post Link to post
RaelB 4 Posted February 28, 2023 Thanks for the tip. I am using HotKeyManager, and looking at the source I see that it is calling LoadKeyboardLayout, and that is what is causing the problem. 10 hours ago, aehimself said: Does the app call LoadKeyboardLayout without KLF_SETFORPROCESS? Not sure if that will make a difference. Documentation says "Beginning in Windows 8: This flag is not used. " Share this post Link to post
Lars Fosdal 1792 Posted March 1, 2023 The users that get the error - what Windows version do they have? Share this post Link to post
RaelB 4 Posted March 1, 2023 Not sure. I haven't asked. It is not an error. It is an unexpected behaviour, but it is documented in the component itself. Share this post Link to post