In the chapter no. 9 -Child window control
what does this line means "buffer db 512 dup(?)"

and in " invoke GetWindowText,hwndEdit,ADDR buffer,512  "  if we have declared the maximum number of charecters.....then wats the need of declaring it in the above line.

and one more thing whats the difference between " hwnd " and " hWnd "
Posted on 2005-09-28 11:10:34 by G`HOST
He declared a byte array called buffer which has a size of 512 bytes.

The win32api is by microsoft and not by iczelion. I believe you pass the size of the buffer to prevent any potential buffer overflow.

They are 2 different variables. For further information, I would have to look into the code.
Posted on 2005-09-28 13:17:31 by roticv