I have to use the windows.h file in my code but it conflicts with other legacy include files on my project that I can not modify. This is in c++. How do I get around this problem, since I can not modify any of the header files in question? I thought about using a namespace but I would think you can not wrap a include in a namespace because once you instantiate you will get the same problem and I would also think it's bad practice? My team leader said to make my header file more stand alone, but eventually I still need to use the windows header in my cpp file where I define my class, so I would think that won't work in the long run.
Thanks