From: "Sergei Dolgov"
Subject: MACXW4.DRV fails???
Date: 1998/06/11
Message-ID: #1/1
Newsgroups: fido.win32
Hi, a hint needed,
I just got a trouble with this driver, looks like BitBlt raises
general protection fault when color formats of destination device
and source memory DC differs.
In my case I try to copy bitmap contents, presented always in 32 bits
per pixel format and stored in memory to screen DC, which can have
any color format, depending what graphics mode is corrently set, but
under mentioned driver I get fatal error leading the application to shut
down.
The source bitmap I create with CreateDIBSection (I use direct memory
access to fill it
and then try to display it using BitBlt, I'd like this API function to make
all color
format transformation needed as Microsoft claimed)
Any ideas how to fix this bug?
Thanks in advance
Sergei Dolgov
e-mail: sdolgov@onego.ru
the man really suffering form this trouble
|