If i have a windows handle, how do i get its instance?
I'm guessing you mean the hInstance of the process which created it. Code: HINSTANCE hInst = (HINSTANCE)GetWindowLong(hWnd, GWL_HINSTANCE);
HINSTANCE hInst = (HINSTANCE)GetWindowLong(hWnd, GWL_HINSTANCE);
Forum Rules