GetWindowTextW(hWindow, buffer, sizeof(title)); <-- Problem here

please Ignore the sizeof(title) parameter, I copied that from c++ equivalent code :D

Reply via email to