I'm try to use direct draw, not direct 3d


include \masm32\include\user32.inc
include \masm32\include\kernel32.inc
include \masm32\directx8\include\ddraw.def
include \masm32\include\windows.inc
includelib \masm32\lib\user32.lib
includelib \masm32\lib\kernel32.lib
includelib \masm32\directx8\lib\ddraw.lib


Yes I put windows.inc after the ddraw.def, because it will not work before.

I get an error that I am missing olectl.inc. This file is not part of MASM32, where can I get it?

Is there anything else I must include??

Thanks.
Posted on 2002-08-10 10:23:55 by ThoughtCriminal
I've not had a lot of luck with Caleb's wigged out includes myself either,
but I can tell you this much: you plan on using DX8, you won't be needing any DirectDraw stuff, because DirectDraw was swallowed whole by D3D8.
Check out GameDev.net tutorials on "enhanced 2D" ... also check out the DX8 "donuts3D" example as it uses a 2D splash sceen in d3d.
You will see that most ppl are making a 2d surface in 3d, and pointing the camera at it in 3d so it LOOKS 2d.
Posted on 2002-08-10 23:19:21 by Homer
Well, stryker saves the day :grin:



BTW, This include was created by Ernie.
Posted on 2002-08-10 23:28:59 by stryker
Well, stryker saves the day


Cool.

Thanks.

Im just looking for Direct Draw. The old interfaces are on there somewhere.
Posted on 2002-08-12 00:18:31 by ThoughtCriminal
ThoughtCriminal,
I uploaded ddraw.inc and ddraw.lib in a previous post. They do not require any obscure includes.
I also attahced a radasm project dmonstratin ddraw in action.
Posted on 2002-08-12 03:47:19 by MArtial_Code