I'm currently trying to make head and tail of Win32Asm programming. Anyway one thing I noticed is that the Window Class Registration structure is almost always created and loaded from the .code section. Couldn't most of that data be initialized and placed in the .data section? Some data (such as hInstance) will still be loaded from the code space but most of the data is constant in each instance anyway...
"Information has a tendency to be free. Which means someone will always tell you something you don't want to know."
Red Flag Submitted
Thank you for helping keep Tek-Tips Forums free from inappropriate posts. The Tek-Tips staff will check this out and take appropriate action.
Reply To This Thread
Posting in the Tek-Tips forums is a member-only feature.