when a C++ code has the head file windows.h (C++ compile head files) and the formatio.h (LW/cvi head files), it can not be compiled in a C++ compiler. I did not understand why. Recently I found relative information on this in the Lw/cvi Online help (i.e explain on OpenFile function. It says "CAUTION: The Windows SDK also contains a OpenFile function. If you include windows.h and do not include formatio.h, you will get compile errors if you call the OpenFile function.")
It seems that there is incompatibility of windows.h and formatio.h, so what should we do if we should use both in a code? how to solve this incompatility?