I just want to know why this code is not working?
HWND hWnds = FindWindow(NULL,(LPCTSTR)"Calculator");
It always returns NULL for the hWnds....
Any idea how to fix this? Thank you :)
Dont cast the string.
HWND hWnds = FindWindow(NULL,_T("Calculator"));