c++ - FindWindow is not working? -
i want know why code not working?
hwnd hwnds = findwindow(null,(lpctstr)"calculator");
it returns null hwnds....
any idea how fix this? thank :)
dont cast string.
hwnd hwnds = findwindow(null,_t("calculator"));
Comments
Post a Comment