Original Post
ok i''m reading a book on programming games. I copyed part of a function into my code, now I got this code to compile without error, but then I changed the "pointer to a bitmap struct" to a "global struct" of the same type. now when I compile I get [cannot convert ''BITMAPFILEHEADER'' to ''void*'' for argument ''2''to]
reffering to this function call:
_lread(file_handle, bitmap.bitmapfileheader,sizeof(BITMAPFILEHEADER));
when bitmap whas a pointer it read bitmap->bitmapfile... and so on. from VC++ Docs I know that I should be useing a win32 function, but I wanted to stay as close to the original code untill I got it to work.
Bloodshed Dev-C++ 4.01
DX 8.0a DX SDK 6.1
win98
#define WIN32_LEAN_AND_MEAN
the Particle Projection Cannon fires a shimmering blue bolt, much like a cross between lightning and a sine wave that ripples along its path.