title: errors compiling project with boost asio
body: <p>I have created a separate project to connect my server component to clients using TCP/IP with boost::asio.  I first created and tested this project separately first and tested these classes, everything worked fine.</p>
  
  <p>Adding this to my server component it now no longer compiles and I get following compiler errors about code that is not even my code! </p>
  
  <pre><code>   c:\Program Files\boost\boost_1_44\boost\asio\detail\impl\win_iocp_io_service.ipp(442): error C2039: 'CreateWaitableTimer' : is not a member of 'operator``global namespace'''
  
  
      c:\Program Files\boost\boost_1_44\boost\asio\detail\impl\win_iocp_io_service.ipp(442): error C3861: 'CreateWaitableTimer': identifier not found, even with argument-dependent lookup
  </code></pre>
  
  <p>I have no idea why I am getting these errors, I have checked all include paths and all include files in the project.</p>
  
  <p>Does anybody have any suggestions as to what can cause these errors?</p>
  
  <p>The header file "tcp_server.h" is included in my project and is the one that causes the errors to pop up.  This is the class defined inside this file (written by myself)</p>
  
  <pre><code>#include "stdafx.h"
  
  #include "tcp_connection.h" //boost shared_ptr etc included inside this file already
  #include &lt;ResolverQueueHandler.h&gt; //Handles threaded queues for requests from client
  
  class tcp_server
  {
  public:
      tcp_server::tcp_server(boost::asio::io_service&amp; io_service, int port,boost::shared_ptr&lt;ResolverQueueHandler&gt; queue_handler);
  
  
  private:
  
      void start_accept();
      void handle_accept(tcp_connection::pointer new_connection, const boost::system::error_code&amp; error);
  
      boost::asio::io_service _io_service;
      boost::asio::ip::tcp::acceptor acceptor_;
      boost::shared_ptr&lt;ResolverQueueHandler&gt; _queue_handler;
      int _port;
  };
  </code></pre>