The MASM Forum Archive 2004 to 2012

General Forums => The Workshop => Topic started by: gwapo on October 26, 2008, 06:45:46 AM

Title: [REDUX] Message Cracker for MASM
Post by: gwapo on October 26, 2008, 06:45:46 AM
Hi,

3 years ago, I've posted the message cracker include file in this forum:
http://www.masm32.com/board/index.php?topic=3880.0 (http://www.masm32.com/board/index.php?topic=3880.0)

Anyway, to revisit the code, I've written a quick blog post (http://devpinoy.org/blogs/cvega/archive/2008/10/26/redux-message-cracker-for-masm.aspx) about this:

About message cracker:

...message cracker is a set of macros that you can line-up to your message-handling routine to enable window-message handling to a separate (or inline) procedure. This line-up of macro calls may improve the readability of your program compared to a long list of .IF/.ELSEIF/.ENDIF.

To see the advantage of using a message-cracker, let's see how a typical message-handling routine would look ....

http://devpinoy.org/blogs/cvega/archive/2008/10/26/redux-message-cracker-for-masm.aspx (http://devpinoy.org/blogs/cvega/archive/2008/10/26/redux-message-cracker-for-masm.aspx)



Cheers,

-chris

[attachment deleted by admin]