Hello everyone,
I am trying to use SOCI ODBC with BOOST (ansio sockets) and I am getting
the following error.
Error 1 error C1189: #error : WinSock.h has already been included
I guess it is because in soci-odbc.h there is a #include <windows.h> that
also includes WinShock.h. I have been searching online and I have found
only one solution, to add before the include :
#undef WIN32_LEAN_AND_MEAN // add this...
#define WIN32_LEAN_AND_MEAN // ...and this
but it hasn't worked either.
Can anyone help me please?
Thank you very much.
--
Álvaro Queipo de Llano Escribano
(+34) 687 447 494
http://www.molinodezuacorta.es
------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of
discussion for anyone considering optimizing the pricing and packaging model
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
Soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users