--- np2/win9x/dialog/d_screen.cpp 2006/12/24 00:52:30 1.12 +++ np2/win9x/dialog/d_screen.cpp 2007/01/08 07:52:01 1.13 @@ -271,7 +271,7 @@ void dialog_scropt(HWND hWnd) { PROPSHEETHEADER psh; HPROPSHEETPAGE hpsp[3]; - hinst = GetWindowInst(hWnd); + hinst = (HINSTANCE)GetWindowLongPtr(hWnd, GWLP_HINSTANCE); ZeroMemory(&psp, sizeof(psp)); psp.dwSize = sizeof(PROPSHEETPAGE);