Code:
	static BOOL			bKeyPressed;
	static HBITMAP		hBitmap;
are the two variables I want in my code.
If I compile it with them I have a problem.
If I compile without them I dont have a problem
Both these variables are put along with all other variables at the top of the WndProc Code