Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!wuarchive!psuvax1!psuvm!frecp12!geldreic Organisation: ECP-Paris France Date: Friday, 31 May 1991 00:17:14 EDT From: David GELDREICH Message-ID: <91151.001714GELDREIC@FRECP12.BITNET> Newsgroups: comp.windows.ms.programmer Subject: Problem with PASSTHROUGH command in Escape function Hi crazy people who are still programming under windows... I am wondering what I am doing wrong because I got a general protection fau lt when I try to do a Escape(hPr, PASSTHROUGH, lstrlen(lpTxt), lpTxt, NULL). Before calling this fonction, I call CreateDC and Escape(hPr, SETABORTPROC . .. and STARTDOC and finally Escape(hPr, PASSTHROUGH,... and I got a GP fault in side of this function. Between, the STARTDOC and ENDDOC I just do this escape call. If I do not put the passthrough, all goes well. If you have time to help me, I would be very happy. Thanks in advance. David Geldreich (Ecole Centrale Paris) OS/2: Half an operating system, but what is windows ???