TIP: Click on subject to list as thread! ANSI
echo: win32
to: ALL
from: `Sergei Dolgov`
date: 1998-06-11 00:00:00
subject: MACXW4.DRV fails???

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

SOURCE: echoes via archive.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.