I just upgraded to v2012 ActiveX.
I haver no problems when building my MFC program in debug. However, when building in Release mode I get the following error message when compiling every TeeChart .cpp file.
qtclustering.cpp
afxv_w32.h(16) : fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include <windows.h>
Can you help?
Mike K
WINDOWS.H already included
Re: WINDOWS.H already included
Hello Mike K,
I am not sure because it occurs, but I have searched the error in the network and I have found some solution that can help you to solve it:
http://social.msdn.microsoft.com/Forums ... f6aef96fe/
http://stackoverflow.com/questions/1017 ... -windows-h
http://stackoverflow.com/questions/5026 ... -h-and-mfc
If this links doesn't help you, please let me know and send us your project because we can find a good solution for you.
Thanks,
I am not sure because it occurs, but I have searched the error in the network and I have found some solution that can help you to solve it:
http://social.msdn.microsoft.com/Forums ... f6aef96fe/
http://stackoverflow.com/questions/1017 ... -windows-h
http://stackoverflow.com/questions/5026 ... -h-and-mfc
If this links doesn't help you, please let me know and send us your project because we can find a good solution for you.
Thanks,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: WINDOWS.H already included
I found the answer. The StdAfx.h file was being used instead of the StdAfx file created for my solution.
Thanks,
Mike
Thanks,
Mike
Re: WINDOWS.H already included
Correction:
I found the answer. The StdAfx.h file in the TeeChart source directory was being used instead of the StdAfx file created for my solution.
Thanks,
Mike
I found the answer. The StdAfx.h file in the TeeChart source directory was being used instead of the StdAfx file created for my solution.
Thanks,
Mike