Simple question about DLLS
-
Hey all, I encountered this information in a definiton of some function's prototype in C++
Library Link to: Ws2_32.lib. DLL Requires: Ws2_32.dll.
Can anyone explain me what does this mean, and how can I link to specified file above ? -
Hey all, I encountered this information in a definiton of some function's prototype in C++
Library Link to: Ws2_32.lib. DLL Requires: Ws2_32.dll.
Can anyone explain me what does this mean, and how can I link to specified file above ?That means the function is implemented in ws2_32.dll and the link library your project needs to link to is ws2_32.lib. One way to link to ws2_32.lib is to add ws2_32.lib to the Project/Properties/Linker/Input/Additional Dependencies list. Another way is to use #pragma comment in the source code, something like #pragma comment(lib, "ws2_32.lib") Mark
Mark Salsbery Microsoft MVP - Visual C++ :java:
-
Hey all, I encountered this information in a definiton of some function's prototype in C++
Library Link to: Ws2_32.lib. DLL Requires: Ws2_32.dll.
Can anyone explain me what does this mean, and how can I link to specified file above ?you might want to read this article[^] first...
[VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]