--- q_a/samples/getdev/getdev.c 2018/08/09 18:29:19 1.1.1.1 +++ q_a/samples/getdev/getdev.c 2018/08/09 18:29:30 1.1.1.2 @@ -36,7 +36,7 @@ int ret; UNREFERENCED_PARAMETER( lpCmdLine ); UNREFERENCED_PARAMETER( nCmdShow); - ret = DialogBox (hInstance, "getdevDlg", NULL, MainDlgProc); + ret = DialogBox (hInstance, "getdevDlg", NULL, (DLGPROC)MainDlgProc); return ret; }