I keep getting this error message: HWND FindWindowExW(HWND,HWND,LPCWSTR,LPCWSTR)': cannot convert argument 3 from 'const char [6]' to 'LPCWSTR
This is my code below. Anyone fix the error for me?
using namespace std;
INPUT Key;
HWND Find;
HANDLE hConsole = GetStdHandle(STD_OUTPUT_HANDLE);
HANDLE thread_binds;
HANDLE thread_armor;
int width, height;
int slotsX, slotsY1, slotsY2, slotsY3, slotsY4, invY1, invY2, invX1, invX2;
int thirdkey, fourthkey, fifthkey, sixthkey;
RECT rect;
HWND search()
{
Find = FindWindowEx(0, 0, "LWJGL", 0);
return Find;
}
HANDLE GetHandle()
{
return hConsole;
}
I'm really looking for an answer, thx