Hab ne konsolenanwedung gemacht...jetzt unter normaler win32 gehts...
edit: Und ich habe dir dabei geholfen , adroxxx XDD...
edit: Und ich habe dir dabei geholfen , adroxxx XDD...
Was haste daran nicht verstanden *g*.Quote:
Originally Posted by NBANaja, dauert halt noch...
int GetProcID(char* windowTitle) {
HWND wnd;
DWORD procID;
window = FindWindow(NULL, windowTitle);
if(window != 0) {
GetWindowThreadProcessId(wnd, &procID);
return procID;
} else {
return -1;
}
}