o well I need to Include the CDatabase variable as a part of the class... Thats the reason I am including it in the header file... I dont understand one thing is.. he same file when included in the .cpp file.. it compiles fine... but when I include in the .h file.. it gives me this error..???

any way i will try removing the windows.h as it is mentioned in other threads