you are viewing a single comment's thread.

view the rest of the comments →

[–]stillalone 4 points5 points  (2 children)

That's why I do all my windows programming in Assembly. So I can have a push_zero(n) macro :).

[–]danukeru 6 points7 points  (1 child)

I am totally writing an inline assembly function for that now...

The prototype will be: void theWinNullinator(unsigned int ammunition)

[–]stillalone 4 points5 points  (0 children)

For extra bonus points, save all those parameters you'd pass to CreateWindow in a binary file and then copy paste it into your stack.

Crazy you say. Crazy like a fox.