| | |
wsock32.lib
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
I am developing a C++ application which deals with socket programming. When I build my program, I get an error as follows,
I have also downloaded the wsock32.lib from web but I dont know where to place it to make my program run. Kindly guide me furthure.
C++ Syntax (Toggle Plain Text)
------ Build started: Project: AFEClientPublic, Configuration: Debug Win32 ------ Linking... LINK : fatal error LNK1104: cannot open file 'wsock32.lib' Build log was saved at "file://d:\AfeClientPublic43\AFEClientPublic43\Debug\BuildLog.htm" AFEClientPublic - 1 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I have also downloaded the wsock32.lib from web but I dont know where to place it to make my program run. Kindly guide me furthure.
It doesnt matter where you put the wsock32.lib file. Just link it properly with the /link switch of your compiler. From the looks of it, you seem to be using the Visual C++ compiler. I thought the wsock32.lib file came with it by default and you wouldn't have to download it.
Anyway, if you are using the Visual Studio IDE, you can select "Add files to project" and select the wsock32.lib and build. Should work.
Anyway, if you are using the Visual Studio IDE, you can select "Add files to project" and select the wsock32.lib and build. Should work.
バルサミコ酢やっぱいらへんで
![]() |
Similar Threads
- Winsock Multi-Client Servers (C++)
- Problems with linking OBJ files (C)
- .exe crashing on executing output !! (C)
- unresolved external symbol "a whole bunch of em" (C)
Other Threads in the C++ Forum
- Previous Thread: Velocity Progra [Homework Help]
- Next Thread: last homework :) assign structure???
| Thread Tools | Search this Thread |
api application array arrays based beginner binary bmp c++ c/c++ calculator char char* class classes code coding compile compiler console conversion convert count data database delete deploy developer dll download dynamiccharacterarray email encryption error file format forms fstream function functions game generator givemetehcodez graph gui homeworkhelp iamthwee ifstream image input int java lib library list loop looping loops map math matrix memory multiple newbie news number numbertoword output pointer problem program programming project python random read recursion recursive reference rpg simple sorting string strings temperature template text text-file tree url variable vector video visual visualstudio win32 windows winsock wordfrequency wxwidgets






