Tech Support > Microsoft Windows > Drivers > RE: Printer driver crashes when dashed pen is selected ????
RE: Printer driver crashes when dashed pen is selected ????
Posted by Ashwin [MS] on July 30th, 2003


Is the dashed pen something your driver supports? Does the problem repro
with say, the msplot sample from the DDK? What do you mean by "the crash
occurs outside of the driver"? It is difficult to tell what the root cause
of your problem is without some debug info. I suggest that you setup a
debugging environment and debug the crash in conjunction with your driver.

- Ashwin

This posting is provided "AS IS" with no warranties, and confers no rights.

Posted by Bimo on August 8th, 2003


""Ashwin [MS]"" <ashwinn@online.microsoft.com> wrote in message
news:gF2dwltVDHA.2112@cpmsftngxa06.phx.gbl...

I was of the assumption, that leaving all rendering to the GDI, would also
include rendering a dashed pen.
That seems not to be the case as I have to provide "some numbers" for
stylished pens
I hadnt provided these numbers, and that caused the crash

The crash was not in my driver code, but occurred after DrvEnablePDEV had
been completed successfully.
The crash resulted in a complete memory dump.... I dont have the knowledge
( or desire to obtain the knowledge ) to debug that...

LB



Posted by Ashwin [MS] on August 11th, 2003


Well, the crash may not be in your driver code but may have been caused by
your driver code. So where does the crash actually occur? Is it a blue
screen or just an AV? If it is a blue screen, you should hook up a debugger
and get the info from "!analyze -v" in the debugger. That will atleast
point to exactly where the crash occured. You might be passing some invalid
stuff back to a Engxxx function.

- Ashwin

This posting is provided "AS IS" with no warranties, and confers no rights.


Similar Posts