Compiling in Ultimate++
-
I have made my own command for FLHook and I built my project…
–— FLHook ( DLL MAIN MSC71 DEBUG BLITZ WIN32 MSC )
BLITZ: CCmds.cpp CConsole.cpp CInGame.cpp CSocket.cpp flcodec.cpp FLHook.cpp HkCbChat.cpp HkCbDamage.cpp HkCb
Death.cpp HkCbDisconnect.cpp HkCbIServerImpl.cpp HkDataBaseMarket.cpp HkError.cpp HkFLIni.cpp HkFuncLog.c
pp HkFuncMsg.cpp HkFuncOther.cpp HkFuncPlayers.cpp HkFuncTools.cpp HkInit.cpp HkTimers.cpp HkUserCmd.cpp
Log.cpp Settings.cpp Tools.cpp wildcards.cpp
$blitz.cpp
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include\WinSock2.h(112) : error C2011: ‘fd
_set’ : ‘struct’ type redefinition
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include\WinSock.h(54) : see declar
ation of ‘fd_set’
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include\WinSock2.h(147) : warning C4005: ’
FD_SET’ : macro redefinition
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include\WinSock.h(88) : see previo
us definition of ‘FD_SET’
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include\WinSock2.h(156) : error C2011: ‘ti
meval’ : ‘struct’ type redefinition
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include\WinSock.h(97) : see declar
ation of ‘timeval’
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\FLHook\source\HkUserCmd.cpp(572) : error C
3861: ‘PrintError’: identifier not found, even with argument-dependent lookup
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\FLHook\source\HkUserCmd.cpp(591) : error C
2440: ‘initializing’ : cannot convert from ‘void (__cdecl *)(uint,uint,int)’ to ‘_UserCmdProc’
None of the functions with this name in scope match the target type
FLHook: 26 file(s) built in (0:11.01), 423 msecs / file, duration = 11328 msecsThere were errors. (0:11.43)
What do I do from here?