How do I fix "Severity Code Description Project File Line Suppression State Error (active) E0167 argument of type "LPSTR" is incompatible with parameter of type "LPCWSTR""?
LPSTR lpsz; HWND handle, handle2; handle = FindWindowA(NULL, "Calculator"); GetWindowTextA(handle, lpsz, num); //handle2 = FindWindowA(NULL, "Calendar"); //LPCWSTR lpsz2 = lpsz; MessageBox( NULL, lpsz, TEXT("Account Details"), NULL );
FindWindowA
GetWindowTextA
MessageBox
MessageBoxA
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)