Posts by Alan • 21 points
1 post
-
2
votes1
answer76
viewsQ: Error: argument of type char is incompatible with lpcwstr
#include <iostream> #include <Windows.h> #include <TlHelp32.h> DWORD getbaseadress(DWORD Pid, TCHAR* n); using namespace std; int main(int argc, char* argv[]) { HWND hwnd = 0;…