Please Help me! I encounter a typical error at runtime:
Microsoft Visual C++ Debug Library:
The value of ESP was not properly saved across a function call. This is usually a result of calling a function declared with one calling convention with a function pointer declared with a different calling convention.
After I got this Error I turned off /GZ option in the settings and this problem got solved, but in the code when a call is made for one function (say draw())another function (nonKeyEventProcessing()) is getting called.
Any help you can lend me will be greatly appreciated.