I am trying to use the viewex sample project as a model for one of my applications. When I run the sample application I get a GP Fault in GDI.EXE at 0001:42B1. Using Code View I determined that the error occurs at line 228 in inputvw.cpp. The line is ::SendMessage(hWndChild,WM_PRINT,(WPARAM)…