Friday, April 9, 2010

Tweaking my noise at the old API

In fooling around with the Windows API, I've just had an enjoyable moment of guffawing. As a quick test of the JS stuff in winmm, I hooked up MM_JOY1MOVE to MessageBox() and ran the program under the debugger. It resulted in an endless stream of MessageBox(), resulting in the Windows task bar hanging, and taking at least 25-30 seconds to recover, after the program had finally overflowed the stack, been examined, and finally terminated manually.


I almost died laughing lol.

No comments:

Post a Comment