Hi,<br><br><div class="gmail_quote">2009/8/25 Robert Dailey <span dir="ltr">&lt;<a href="mailto:rcdailey@gmail.com">rcdailey@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

The two significant lines are:<div><br></div><div>#include &lt;boost/asio/io_service.hpp&gt;</div><div>#include &lt;wx/frame.h&gt;</div><div><br></div><div>With the order they are in above, you will get a linker error:</div>


<div><br></div><div><div>Error<span style="white-space: pre;">	</span>1<span style="white-space: pre;">	</span>error LNK2001: unresolved external symbol &quot;public: virtual class wxClassInfo * __thiscall wxFrame::GetClassInfoA(void)const &quot; (?GetClassInfoA@wxFrame@@UBEPAVwxClassInfo@@XZ)<span style="white-space: pre;">	</span>MainFrame.obj</div>


<div><br></div><div>When you swap the order, it goes away.</div></div></blockquote><div><br>Maybe you can try this solution: <a href="http://www.wxwidgets.org/docs/faqmsw.htm#asuffix">http://www.wxwidgets.org/docs/faqmsw.htm#asuffix</a><br>

<br>Regards,<br><br>Olivier<br>�</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><br>---------<br><font color="#888888">Robert Dailey</font><div>

<div></div><div class="h5"><br>
<br><br><div class="gmail_quote">On Tue, Aug 25, 2009 at 12:11 PM, Jens Weller <span dir="ltr">&lt;<a href="mailto:JensWeller@gmx.de" target="_blank">JensWeller@gmx.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


<div><div></div><div><br>
&gt; I noticed that &lt;boost/asio.hpp&gt; and &lt;boost/asio/io_service.hpp&gt; both<br>
&gt; include<br>
&gt; windows specific header files through some level of indirection. I know<br>
&gt; this<br>
&gt; because it is causing problems with wxWidgets depending on the order of my<br>
&gt; include directives. I was considering using a mediator/pimpl of some sort<br>
&gt; to<br>
&gt; keep the asio includes limited to a very confined translation unit, but<br>
&gt; this<br>
&gt; would complicate the usage of ASIO in general. I have a class that owns an<br>
&gt; io_service object by-value in its header.<br>
&gt; Anyone have any suggestions to reduce the amount of namespace polluting<br>
&gt; ASIO<br>
&gt; does? I really blame this on the Windows API, since ASIO is just as<br>
&gt; limited<br>
&gt; by it as I am. Thanks in advance.<br>
<br>
</div></div>I&#39;ve just build an application with wxWidgets and asio this spring, and had no problems.<br>
I did use kind of the pattern in the chat example, but extended and more split up in Classes.<br>
Could you show the header code?<br>
<br>
regards<br>
<br>
Jens Weller<br>
<font color="#888888">--<br>
GRATIS f�r alle GMX-Mitglieder: Die maxdome Movie-FLAT!<br>
Jetzt freischalten unter <a href="http://portal.gmx.net/de/go/maxdome01" target="_blank">http://portal.gmx.net/de/go/maxdome01</a><br>
_______________________________________________<br>
Boost-users mailing list<br>
<a href="mailto:Boost-users@lists.boost.org" target="_blank">Boost-users@lists.boost.org</a><br>
<a href="http://lists.boost.org/mailman/listinfo.cgi/boost-users" target="_blank">http://lists.boost.org/mailman/listinfo.cgi/boost-users</a><br>
</font></blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
Boost-users mailing list<br>
<a href="mailto:Boost-users@lists.boost.org">Boost-users@lists.boost.org</a><br>
<a href="http://lists.boost.org/mailman/listinfo.cgi/boost-users" target="_blank">http://lists.boost.org/mailman/listinfo.cgi/boost-users</a><br></blockquote></div><br>