title: I get Error 1407 when using CreateWindowExW in assembly code
body: <p>I am trying to write a forms application in assembly/machine code. The problem I am having is using the function <code>CreateWindowExW</code>. It throws error 1407. I prep all of the variables on the stack. I dont get an error when using <code>RegisterClassA</code>, so that must mean that the class registered correctly. Here is what it looks like in x32dbg :</p>
  <p><a href="https://i.stack.imgur.com/BLNCA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BLNCA.png" alt="Debugging the exe" /></a></p>
  <p>I entered the variables that are needed for <code>CreateWindowExW</code> in reverse order on the stack as I could see the order from winuser.h in visual studio c++ test program.</p>
  <p>Hope this is enough information and thank you to anyone that responds.</p>