I'm new to windows programming.
Can someone help me to understand something about a sample project I have? In it, some function called:
LRESULT CALLBACK wndProc(blah, blah...)
It handles windows messages, such as the application window's WM_CREATE message.
How does the compiler know that this is THE message handler to use? Where does it call it? I've tried using the debugger to find out, but no dice.
Can someone help me to understand something about a sample project I have? In it, some function called:
LRESULT CALLBACK wndProc(blah, blah...)
It handles windows messages, such as the application window's WM_CREATE message.
How does the compiler know that this is THE message handler to use? Where does it call it? I've tried using the debugger to find out, but no dice.