Archived

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

bdc256

Simplest directx program

Recommended Posts

could some one please send me source code for a program that makes fullscreen and loads and displays a bitmap in middle thats all also ho do i include directx lib''s in vc++6.0

Share this post


Link to post
Share on other sites
http://www.flipcode.com/tutorials/tut_dx82d.shtml

http://www.flipcode.com/tutorials/tut_dx8adv2d.shtml

U May Find Some Useful Code / Infomation There

Share this post


Link to post
Share on other sites
sent, check your "C:\DXVCSDK\samples\Multimedia\DirectDraw\FullScreenMode" directory. i hacked your pc to do that and it was much trouble

Share this post


Link to post
Share on other sites
I have look at the sdk and sites listed above but they do not help much beacuse the code is fragmented i need to see how it goes together
__________so please could someone give me the example i requeted above__________

Share this post


Link to post
Share on other sites
I''d reccommend getting a book on it. Yeah I know, the MS
samples kinda uhm how do you say...suck! Thats the word!
But its not a simple process to do what you say either so I think
you need to get a book to understand everything.
There''ll be like a whole buncha steps you need to do just to
create a fullscreen mode. Then a whole buncha other steps to
display a bitmap.

-=Lohrno

Share this post


Link to post
Share on other sites
To include the DirectX libs. I create a folder in the resources called DirectX
and I include them in there. Do NOT put
  
#include "ddraw.lib" // Direct Draw Lib

or you will have an error.

be shure to inclued the dx headers in your program.




Edited by - trekey19966 on February 22, 2002 4:18:58 PM

Share this post


Link to post
Share on other sites