Originally Posted by
matsp
Why are you declaring a function prototype that is part of the Windows API? You should be able to use it directly from the windows.h.
As I said earlier, you NEED to include the whole of "Windows.h" unless you want to go through a ton of more or less strange header files and figure out exactly what parts are needed and what aren't, etc, etc.
Also, if you still have problems, post about 10 lines around the problem area, as it can be that it's a line before/after that gives the ACTUAL problem.
--
Mats