|
-
Nov 9th, 2002, 03:56 AM
#1
Thread Starter
Lively Member
Message crackers and sharing variables
I was reading up about message crackers and was wondering how do I share variables between the messages. Global variables?
-
Nov 9th, 2002, 07:12 AM
#2
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Nov 9th, 2002, 08:44 AM
#3
Thread Starter
Lively Member
Yeah, I was reading about them in Programming Applications for Microsoft Windows. and I think I saw something about them on winprog.org. But they're a set of macros which lets you break each message down into seperate procedures and make your code easier to look at in theory. They're all defined in windowsx.h.
-
Nov 9th, 2002, 09:14 AM
#4
Aahh.
Yes, the way those macros are written global variables seem to be the only way. Which is why I don't like them, and why an object-oriented approach is better.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|