I'm a newbee to windows graphic programming and i have bought a book called Windows game programming for dummies.
And it is really good, except for one little problem.
Some of the directx example files wont compile for me
Have tried both borland 5.02 and visual c++ 6.0.
The problem is the same each time in a number of diffrent files
\c++gpchap12starferr.cpp(216) : error C2440: '=' : cannot convert from 'void *' to 'struct HBRUSH__ *'
Conversion from 'void*' to pointer to non-'void' requires an explicit cast
?? this line is giving me a bit of an hedace, what is wrong...
plz help me!
0 · ·