« Return to Thread: [asio]Winsock.h

Re: [asio]Winsock.h

by Jonathan Franklin :: Rate this Message:

Reply to Author | View in Thread

On Tue, Jul 7, 2009 at 6:00 PM, Commander Pirx<CmdPirx@...> wrote:
> I was struggling with this problem too. Include <asio.hpp> before
> <windows.h> and all works fine.

This works great, most of the time.

I've got some headers that include the wxWidgets pre-compiled headers
header file, which pretty much blows any previous definitions away,
AND includes windows.h.  I never figured out a way to integrate asio
into this file, and was forced to use the pimpl idiom.

I'm a wx light-weight, so perhaps there is something I missed.

Jon
_______________________________________________
Boost-users mailing list
Boost-users@...
http://lists.boost.org/mailman/listinfo.cgi/boost-users

 « Return to Thread: [asio]Winsock.h