🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #2968

Problem with PASSTHROUGH command in Escape function

#2968
From: David GELDREICH
Date: Fri, 31 May 1991 04:17
18 lines
1147 bytes
   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 ???
Technical Details
Message-ID: <91151.001714GELDREIC@FRECP12.BITNET>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!wuarchive!psuvax1!psuvm!frecp12!geldreic

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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 <GELDREIC@FRECP12.BITNET>
Message-ID: <91151.001714GELDREIC@FRECP12.BITNET>
Newsgroups: comp.windows.ms.programmer
Subject: Problem with PASSTHROUGH command in Escape function