|
Boost Users : |
Subject: Re: [Boost-users] [asio]Winsock.h
From: Zachary Turner (divisortheory_at_[hidden])
Date: 2009-07-13 14:06:24
On Mon, Jul 13, 2009 at 12:36 PM, Jonathan
Franklin<franklin.jonathan_at_[hidden]> wrote:
> 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
I'm not familiar with wxWidgets, but what do you mean it "blows away
any previous definitions"? It can't uninclude any file you've
included before the wxWidgets header file. I tried to download it to
see what you mean, but the wxWidgets sourceforge is giving me errors
when I try to download the latest release, saying the file doesn't
exist.
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