Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#643 Compilation clash when using Visual Studio MFC wizard

open
None
C++ API
5
2013-12-18
2013-12-18
Emmanuel Taurel
No

If you use Visual Studio MFC wizard, it generates some source files for you in which it includes
WinSock2.h file. Including this file before tango.h generates a compilation clash due
to one enum value defined in Tango IDL file named NO_DATA also defined in WinSock2.h

Work-around: undef NO_DATA before inserting tango.h or insert tango.h first.

Will be fixed in next release

Emmanuel

Discussion