Sleep() inline assembly call works but generates runtime check-failure
问题 As the title of my question says the sleep() function works properly (and every other function call in the C function, the problem is that after it's finished running I get an error that says: "Run-Time Check Failure #0 - 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." I believe the way I'm handling the registers when I call