0

I having difficult on findwindow function when met Chinese language;

HWND hwnd = 0;

do {
   printf("searching...");
   hwnd = FindWindow(NULL, "chineseWindowName");
 }while (hwnd == NULL);

 printf("\n\nFound!!\n");

the Chinese name can't be found so always stuck on searching, what better way to solve this or is there a way to get the window name (not process name, process name is "helan.exe", I try but failed, process name is different with window title name);

how can we look for correct window name and make it work in code? the Chinese is traditional;

nelLuffy
  • 33
  • 6

0 Answers0