My system is WinMe
I use Borland C++ 3.1
I try to compile my program but i only get the message error:
"Compiling Probe.c:
Linking Probe.exe:
Linker Error: Bad Object File record in module BORLANDC\LIB\WSOCK32.LIB"
the code is the following:
#include <stdio.h>
#include <winsock.h>
int main()
{
WSADATA wsadata;
if (WSAStartup(0x101, &wsadata) != NULL)
{
printf("Cannot initialize WinSock!\n");
return 1;
{
return 0;
}
i've tried with winsock.lib, wsockx.lib, winsockx.kib, and some other, i would like someone to help me to solve my problem.