ASM => Sleep Func.

Posts 1–3 of 3 · Page 1 of 1
ASM => Sleep Func.
SELAM - Hi guys...

Code:
#include <windows.h>
Code:
void Sleeply(DWORD dwMilliseconds)
{_asm{
PUSH dwMilliseconds
CALL DWORD PTR DS:[Sleep]
}
}
Once again, snippets
You basically wrote a useless wrapper that a good compiler will simply compile away...
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Similar Threads

Tags

None

Talk with us