Boost logo

Boost Users :

Subject: Re: [Boost-users] [asio]Winsock.h
From: Jonathan Franklin (franklin.jonathan_at_[hidden])
Date: 2009-07-13 13:36:03


On Tue, Jul 7, 2009 at 6:00 PM, Commander Pirx<CmdPirx_at_[hidden]> 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 list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net