Hello,

some time ago I wrote some code utilizing DirectDraw. Now I have been trying to get it working again w/o success
coz I'm unable to locate the right include files :( For example I have 3 versions of a file called DDraw.inc :confused:

Can anybody direct me to an example for a working DirectDraw-include setup?

I downloaded Scronty's and Caleb's include files and found others, too. However, everytime I try to assemble something,
some things seem to be missing, others are "non-benign redefinitions"...

I used to define things like this:

.data
ddPixelFormat DDPIXELFORMAT <0>
.code
DDSINVOKE GetPixelFormat,lpOverlay,offset ddpf
DDINVOKE CreateSurface,lpDD,offset ddsd,offset lpPrimary,NULL
[...]

Which includes have I used?

Is there some kind of standardization in progress what files will be finally included in the masm-package?

Plz help!
Posted on 2003-07-26 12:34:47 by fxcb
Basically everybody created and used his own includes... at least i did it like this (using TASM)

But i have started from some includes i understood
and if i liked them i keep on adding new things to them when i need.

I guess you can use either MASM's includes or Scronty's or Clebs's or whatever as long as you understand them...
Posted on 2003-07-26 19:40:17 by BogdanOntanu
Thank you for encouraging me :)

I rewrote the code today using the coinvoke syntax
also known as Caleb's include files. I had to remove
one line (include windows.inc) from dxbase.def and
everything's fine now.
Posted on 2003-07-27 17:59:58 by fxcb