Why does the following code cause an exception to be thrown after the usage of MessageBoxA? Im reading the documentation of GetMessageW and It says that the message loop cal