|
Create Client class in WIN32 dynamic library, call WSAStartup function and WSACleanup in class constructor
The following problems occur:
Creating library Debug / ClientDll.lib and object Debug / ClientDll.exp
lient1.obj: error LNK2001: unresolved external symbol __imp__WSAStartup @ 8
lient1.obj: error LNK2001: unresolved external symbol __imp__WSACleanup @ 0
This class can be used in WIN32 console program and MFC program. |
|