Re: Unknown Debugchchk in gdi.cpp



The reason for the exception is that the display driver returned an error
and failed to load. You need to step through the display driver
initialization code and find out where/why this happens.

--
Dean Ramsier - eMVP
Vibren Technologies
http://www.vibren.com/Products/schema_bsp.htm


"Holger" <froelich@xxxxxxxxx> wrote in message
news:%23qBlRu7SFHA.3176@xxxxxxxxxxxxxxxxxxxxxxx
> Thank you for your replay.
>
> Yes, driver is loaded. Problem is, that BPP must be 4. So i asume that
some
> calculations are going wrong.
> For exmaple in gpe.cpp m_BytesPixel will be set to 0:
>
> GPESurf::SetRotation(
> int width,
> int height,
> int iRotate
> )
> {
> m_iRotate = iRotate;
> m_BytesPixel = EGPEFormatToBpp[m_eFormat] >> 3;
>
> I don't know if this is a problem. So i want to know, the reason for the
> exception.
>
> Regards Holger
>
>
>
> "Dean Ramsier" <ramsiernospam@xxxxxxxxxx> schrieb im Newsbeitrag
> news:OEufsY2SFHA.2548@xxxxxxxxxxxxxxxxxxxxxxx
> > The display driver didn't load for some reason. GWES is expecting it,
and
> > will crash without it. Does it exist in the build? If it does, what
> errors
> > is it indicating?
> >
> > --
> > Dean Ramsier - eMVP
> > Vibren Technologies
> > http://www.vibren.com/Products/schema_bsp.htm
> >
> >
> > "Holger" <froelich@xxxxxxxxx> wrote in message
> > news:um8y5J1SFHA.3228@xxxxxxxxxxxxxxxxxxxxxxx
> > > Hello,
> > >
> > > I'm developing a display driver with 4 BPP resolution for WinCE5.0.
When
> > > driver is loaded i get the error
> > >
> > > 4294804157 PID:a1e2295a TID:a1f3bcee 0x81df6010: Bits-per-pixel: 4
> > > 4294804173 PID:a1e2295a TID:a1f3bcee 0x81df6010: *** COULD NOT LOAD
> > DISPLAY
> > > DRIVER (DDI_S3C2440.dll)! ***
> > > *** SYSTEM BOOT ABORTING! ***
> > > 4294804174 PID:a1e2295a TID:a1f3bcee 0x81df6010: Unknown: DEBUGCHK
> failed
> > in
> > > file c:\macallan\private\winceos\coreos\gwe\mgdi\base\gdi.cpp at line
> 2075
> > >
> > > Has anyone an idea there the error comes from ?
> > >
> > > Thank you
> > > Holger
> > >
> > >
> >
> >
>
>


.



Relevant Pages

  • Windows display error, or maybe hardware issue?
    ... I'm working a computer for a friend, and for some reason, ... I'm only able to view the top, upper-left portion of the ... It's like the monitor isn't big enough to ... and as far as I know the display driver is ...
    (microsoft.public.windowsxp.perform_maintain)
  • CE 4.2 gwes gets a bad exception on GetForegroundKeyboardTarget() ?
    ... PB 4.2, using a simple thin client platform, x86 device, ... VIA CE 4.2 display driver. ... it was found that a taskman shell function call to an API ... causes a bad exception, after which being handled by CE ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Office v.X Toolbar Requires Refreshing
    ... Dayo Mitchell wrote: ... > display driver, he's the expert. ... I've heard that Word being so complex puts ... > more on a load on displays than other programs, ...
    (microsoft.public.mac.office)
  • Re: how to remove the display driver from image
    ... You don't need to make it, it is standard CE component. ... Add it to your OS design and you are done. ... load such as ddi.dll? ... a NULL display driver if you still want to use some GUI ...
    (microsoft.public.windowsce.platbuilder)
  • WinCE 4.2 DirectX Driver Problem
    ... DirectX Samples fail in Emulator ... Reason: Display Driver doesn't support Flipping surfaces. ...
    (microsoft.public.windowsce.embedded)