#### Archived

This topic is now archived and is closed to further replies.

This topic is 6921 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

How are you trying to display the bitmap?

##### Share on other sites
Okay, I think I know what you are doing. You have probably used the LoadBitmap function (easy huh) from ddutil.

You have loaded it on a DirectDrawSurface, and then displayed it. You keep going to display that bitmap. But in normal application, you do something like:

code:
DDBLTFX ddbltfx;ddbltfx.dwSize = sizeof(ddbltfx);ddbltfx.dwFillColor = 0;BackBuffer->Blt(NULL,NULL,NULL,DDBLT_COLORFILL | DDBLT_WAIT,&ddbltfx);

And this makes the back buffer go BLACK.

It is probably this, or something similar. It's the only thing I can think of.

------------------
Dance with me......

##### Share on other sites
Thanks for the info guys you see I am not even compiling the code. The CD has the .exe of the program to load 16 bit bitmaps. When I compile it does the same thing. Argh Ill go check out my code after I get home from Cleveland state

##### Share on other sites
Well I know C. I know a little of DirectX stuff. I have the Windows guru book but I need to know how to load 16 bit bitmaps and display them correctly?! The examples in the book dont work correctly. I see the bmp for a split second and then the screen goes blank?! I cant figure it out I got a tnt card as my primary card. thanks for any help you can give me!

1. 1
2. 2
3. 3
4. 4
Rutin
19
5. 5

• 14
• 14
• 9
• 9
• 9
• ### Forum Statistics

• Total Topics
632927
• Total Posts
3009253
• ### Who's Online (See full list)

There are no registered users currently online

×