home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!agate!usenet.ins.cwru.edu!po.CWRU.Edu!mbc
- From: mbc@po.CWRU.Edu (Michael B. Comet)
- Newsgroups: comp.os.msdos.programmer
- Subject: Help! Microsoft QuickC for Windows + BITMAPS problem!?
- Date: 4 Jan 1993 17:29:08 GMT
- Organization: Case Western Reserve University, Cleveland, OH (USA)
- Lines: 29
- Message-ID: <1i9s54INNek5@usenet.INS.CWRU.Edu>
- Reply-To: mbc@po.CWRU.Edu (Michael B. Comet)
- NNTP-Posting-Host: slc12.ins.cwru.edu
-
-
-
- I have recently been working on a graphics viewer in microsoft
- quickc for windows. No major problems as I have written one for DOS
- allready.
-
- To speed up the drawing and updating of the windows, I am using
- the CreateBitmapIndirect() function and the StrechBlt() function to
- display the bitmaps. I have ran into a problem though where bitmaps say
- 640x480 have weird horizontal shifts though starting about 100 lines in
- and every 100 lines or so. Does anyone know of a problem with the
- standard bitmap format for files bigger than 64k? The program looks
- fine for 320x200 images. Also, I have tested my decompression by put
- code to view what's decompressed as it decodes an image line by line
- using the SetPixel() function.
-
- Any help would be appreciated. Is there a better way to display
- a bitmap? I am used to using a direct ptr to the screen in DOS, but I
- don't think that's going to work in windows....plus I don't want to have
- to worry about which SVGA card is in use etc...
-
- Thanks.
-
-
- --
- +======================================================================+
- | Michael B. Comet - Computer Programmer / Graphics Artist - CWRU |
- | mbc@po.CWRU.Edu - "IF THEN THEN THEN = ELSE ELSE ELSE = THEN" |
- +======================================================================+
-