title: WinAPI LoadKeyboardLayout();
body: <p>I compile dll with VS2010 but I have problems with changing keyboard layout. I am running Windows 7.</p>
  
  <pre><code>GetKeyboardLayout(0); //Returns previous layout
  LoadKeyboardLayout("00000409", KLF_ACTIVATE);
  GetKeyboardLayout(0); //Returns 04090409 (English layout)
  </code></pre>
  
  <p>But the layout is NOT changed. One may say that I am doing something wrong but if I change "00000409" to any other language ID for example to russian "00000419" layout is changed perfectly. The problem occurs only with English layout.</p>
  
  <p>The same problem occur when I use <code>ActivateKeyboardLayout</code> when all layouts are switched ok but english don't work.</p>
  
  <p>What king of problem it can be? </p>