|
|
| version 1.6, 2005/03/20 08:58:20 | version 1.7, 2011/02/15 00:51:51 |
|---|---|
| Line 933 void dialog_sndopt(HWND hWnd) { | Line 933 void dialog_sndopt(HWND hWnd) { |
| PROPSHEETHEADER psh; | PROPSHEETHEADER psh; |
| HPROPSHEETPAGE hpsp[6]; // ver0.29 | HPROPSHEETPAGE hpsp[6]; // ver0.29 |
| 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); |