this works for me, I don't know why you are getting this error. You might try editing windows.h line: "long WINAPI CreatePopupMenu(long);" to "long WINAPI CreatePopupMenu(void);"
as CreatePopupMenu does not have any inputs.


Joris Lambrecht
My Contributions: Relative Rotation, Window Sizing