Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. ATL / WTL / STL
  4. Build ATL Server problem

Build ATL Server problem

Scheduled Pinned Locked Moved ATL / WTL / STL
csharpc++visual-studiohelpsysadmin
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User 43190
    wrote on last edited by
    #1

    I have a problem on building the "Hello World" project after converting it to Visual Studio .NET 2003. The build log: Build Log ------- Build started: Project: HelloWorld, Configuration: Debug|Win32 ------- Command Lines Creating temporary file "f:\Samples\WebFeatures\HelloWorld\Debug\RSP000001.rsp" with contents [ /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "HELLOWORLD_EXPORTS" /D "_WINDLL" /FD /EHsc /MTd /Fp".\Debug/HelloWorld.pch" /Fo".\Debug/" /Fd".\Debug/" /W4 /c /ZI /TP /Bv /Bt /Wp64 .\HelloWorld.cpp ] Creating command line "cl.exe @f:\Samples\WebFeatures\HelloWorld\Debug\RSP000001.rsp /nologo" Creating temporary file "f:\Samples\WebFeatures\HelloWorld\Debug\RSP000002.rsp" with contents [ /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "HELLOWORLD_EXPORTS" /D "_WINDLL" /FD /EHsc /MTd /Fp".\Debug/HelloWorld.pch" /Fo".\Debug/" /Fd".\Debug/" /W4 /c /ZI /TP /Bv /Bt /Wp64 /Bv /Bt /Wp64 .\StdAfx.cpp ] Creating command line "cl.exe @f:\Samples\WebFeatures\HelloWorld\Debug\RSP000002.rsp /nologo" Output Window Compiling... Compiler Passes: D:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe: Version 13.10.3077.0 D:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\c1.dll: Version 13.10.3077.0 D:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\c1xx.dll: Version 13.10.3077.0 D:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\c2.dll: Version 13.10.3077.0 D:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\link.exe: Version 7.10.3077.0 D:\Program Files\Microsoft Visual Studio .NET 2003\Common7\ide\mspdb71.dll: Version 7.10.3077.0 HelloWorld.cpp d:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\atlsocket.inl(26) : error C3861: 'FreeAddrInfo': identifier not found, even with argument-dependent lookup d:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\atlsocket.inl(42) : error C3861: 'FreeAddrInfo': identifier not found, even with argument-dependent lookup d:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\atlsocket.inl(52) : error C2039: 'GetAddrInfo' : is not a member of 'operator``global namespace''' d:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\atlsocket.inl(52) : error C2660: 'ATL::CSocketAddr::GetAddrInfo' : function does not take 4 arguments time(D:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\c1xx.dll)=11.947s Results Build log was

    M 1 Reply Last reply
    0
    • U User 43190

      I have a problem on building the "Hello World" project after converting it to Visual Studio .NET 2003. The build log: Build Log ------- Build started: Project: HelloWorld, Configuration: Debug|Win32 ------- Command Lines Creating temporary file "f:\Samples\WebFeatures\HelloWorld\Debug\RSP000001.rsp" with contents [ /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "HELLOWORLD_EXPORTS" /D "_WINDLL" /FD /EHsc /MTd /Fp".\Debug/HelloWorld.pch" /Fo".\Debug/" /Fd".\Debug/" /W4 /c /ZI /TP /Bv /Bt /Wp64 .\HelloWorld.cpp ] Creating command line "cl.exe @f:\Samples\WebFeatures\HelloWorld\Debug\RSP000001.rsp /nologo" Creating temporary file "f:\Samples\WebFeatures\HelloWorld\Debug\RSP000002.rsp" with contents [ /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "HELLOWORLD_EXPORTS" /D "_WINDLL" /FD /EHsc /MTd /Fp".\Debug/HelloWorld.pch" /Fo".\Debug/" /Fd".\Debug/" /W4 /c /ZI /TP /Bv /Bt /Wp64 /Bv /Bt /Wp64 .\StdAfx.cpp ] Creating command line "cl.exe @f:\Samples\WebFeatures\HelloWorld\Debug\RSP000002.rsp /nologo" Output Window Compiling... Compiler Passes: D:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe: Version 13.10.3077.0 D:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\c1.dll: Version 13.10.3077.0 D:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\c1xx.dll: Version 13.10.3077.0 D:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\c2.dll: Version 13.10.3077.0 D:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\link.exe: Version 7.10.3077.0 D:\Program Files\Microsoft Visual Studio .NET 2003\Common7\ide\mspdb71.dll: Version 7.10.3077.0 HelloWorld.cpp d:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\atlsocket.inl(26) : error C3861: 'FreeAddrInfo': identifier not found, even with argument-dependent lookup d:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\atlsocket.inl(42) : error C3861: 'FreeAddrInfo': identifier not found, even with argument-dependent lookup d:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\atlsocket.inl(52) : error C2039: 'GetAddrInfo' : is not a member of 'operator``global namespace''' d:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\atlsocket.inl(52) : error C2660: 'ATL::CSocketAddr::GetAddrInfo' : function does not take 4 arguments time(D:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\c1xx.dll)=11.947s Results Build log was

      M Offline
      M Offline
      macattack
      wrote on last edited by
      #2

      Make sure you have included: Ws2tcpip.h and have added Ws2_32.lib to the linker

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups