--- q_a/samples/streblt/streblt.c 2018/08/09 18:29:19 1.1 +++ q_a/samples/streblt/streblt.c 2018/08/09 18:29:23 1.1.1.2 @@ -95,7 +95,7 @@ int APIENTRY WinMain(HANDLE hInstance, H /* create the top dialog as a child of the main window. */ - hwndDlg = CreateDialog (hInst, "strebltDlg", hwndMain, (WNDPROC)DlgProc); + hwndDlg = CreateDialog (hInst, "strebltDlg", hwndMain, (DLGPROC)DlgProc); /* Send main window a WM_SIZE message so that it will size the top * dialog correctly. Also, force a repaint of the main window