I followed him write the parameter wrong, but why my HWND why the return value is not empty - NULL. (figure 1)
Before I started to use VS2013, using VC6, is operating correctly,
I put the cursor on the HWND, press F9, then press the CONTR F5. (video of the teacher does not demonstrate how he work, I do not know I do this right?)
Below is my program

Below is a video of the teacher's program

CodePudding user response:
Cc is not initialized stateAfter you execute the function assignment will see changes