|
|
| version 1.5, 2005/03/20 08:58:20 | version 1.6, 2011/02/15 00:51:51 |
|---|---|
| Line 258 void dialog_scropt(HWND hWnd) { | Line 258 void dialog_scropt(HWND hWnd) { |
| PROPSHEETHEADER psh; | PROPSHEETHEADER psh; |
| HPROPSHEETPAGE hpsp[3]; | HPROPSHEETPAGE hpsp[3]; |
| hinst = (HINSTANCE)GetWindowLong(hWnd, GWL_HINSTANCE); | #if defined(_WIN64) |
| hinst = reinterpret_cast<HINSTANCE>(::GetWindowLongPtr(hWnd, GWLP_HINSTANCE)); | |
| #else | |
| hinst = reinterpret_cast<HINSTANCE>(::GetWindowLong(hWnd, GWL_HINSTANCE)); | |
| #endif | |
| ZeroMemory(&psp, sizeof(psp)); | ZeroMemory(&psp, sizeof(psp)); |
| psp.dwSize = sizeof(PROPSHEETPAGE); | psp.dwSize = sizeof(PROPSHEETPAGE); |