• Advertisement

Archived

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

Guest Anonymous Poster

Please help. I have one problem I cant solve.

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

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
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 this post


Link to post
Share on other sites
Guest Anonymous Poster
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 this post


Link to post
Share on other sites
Guest Anonymous Poster
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!

Share this post


Link to post
Share on other sites

  • Advertisement