mọi người xem là lỗi gì, tớ build thư viện
FilterText\FilterText_StaticLib.dsw
MultiServer\Common\Common.dsw
cái đầu thì oke, tới cái common thì lỗi này ko biết sao
Code:
--------------------Configuration: Common - Win32 Release--------------------
Compiling...
stdafx.cpp
Compiling...
Buffer.cpp
Console.cpp
Event.cpp
EventSelect.cpp
Exception.cpp
IniFile.cpp
IOBuffer.cpp
IOCompletionPort.cpp
G:\JX\JX\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.h(36) : error C2061: syntax error : identifier 'ULONG_PTR'
G:\JX\JX\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.h(38) : error C2061: syntax error : identifier 'ULONG_PTR'
G:\JX\JX\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.h(42) : error C2061: syntax error : identifier 'ULONG_PTR'
G:\JX\JX\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.h(46) : error C2061: syntax error : identifier 'ULONG_PTR'
G:\JX\JX\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.h(49) : error C2535: 'unsigned long __thiscall OnlineGameLib::Win32::CIOCompletionPort::GetStatus(void)' : member function already defined or declared
G:\JX\JX\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.h(42) : see declaration of 'GetStatus'
G:\JX\JX\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(27) : error C2061: syntax error : identifier 'ULONG_PTR'
G:\JX\JX\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(31) : error C2065: 'completionKey' : undeclared identifier
G:\JX\JX\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(38) : error C2065: 'ULONG_PTR' : undeclared identifier
G:\JX\JX\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(38) : error C2146: syntax error : missing ')' before identifier 'completionKey'
G:\JX\JX\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(38) : error C2182: 'PostStatus' : illegal use of type 'void'
G:\JX\JX\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(38) : error C2350: 'CIOCompletionPort::PostStatus' is not a static member
G:\JX\JX\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(40) : error C2059: syntax error : ')'
G:\JX\JX\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(41) : error C2143: syntax error : missing ';' before '{'
G:\JX\JX\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(41) : error C2447: missing function header (old-style formal list?)
G:\JX\JX\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(51) : error C2065: 'pCompletionKey' : undeclared identifier
G:\JX\JX\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(52) : error C2275: 'PDWORD' : illegal use of this type as an expression
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\windef.h(156) : see declaration of 'PDWORD'
G:\JX\JX\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(52) : error C2146: syntax error : missing ')' before identifier 'pdwNumBytes'
G:\JX\JX\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(52) : error C2350: 'CIOCompletionPort::GetStatus' is not a static member
G:\JX\JX\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(52) : error C2078: too many initializers
G:\JX\JX\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(52) : error C2275: 'PDWORD' : illegal use of this type as an expression
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\windef.h(156) : see declaration of 'PDWORD'
G:\JX\JX\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(53) : error C2059: syntax error : ')'
G:\JX\JX\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(54) : error C2143: syntax error : missing ';' before '{'
G:\JX\JX\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(54) : error C2447: missing function header (old-style formal list?)
G:\JX\JX\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(68) : error C2275: 'PDWORD' : illegal use of this type as an expression
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\windef.h(156) : see declaration of 'PDWORD'
G:\JX\JX\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(68) : error C2146: syntax error : missing ')' before identifier 'pdwNumBytes'
G:\JX\JX\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(68) : error C2350: 'CIOCompletionPort::GetStatus' is not a static member
G:\JX\JX\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(68) : error C2078: too many initializers
G:\JX\JX\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(68) : error C2275: 'PDWORD' : illegal use of this type as an expression
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\windef.h(156) : see declaration of 'PDWORD'
G:\JX\JX\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(70) : error C2059: syntax error : ')'
G:\JX\JX\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(71) : error C2143: syntax error : missing ';' before '{'
G:\JX\JX\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(71) : error C2447: missing function header (old-style formal list?)
KSG_EncodeDecode.cpp
KSocketClient2.cpp
Library.cpp
Macro.cpp
ManualResetEvent.cpp
Mutex.cpp
NodeList.cpp
Socket.cpp
SocketAddress.cpp
SocketClient.cpp
SocketServer.cpp
NOTE : --------------------OnlineGameLib [Client] : Announcement--------------------
NOTE : The lib be used for socket communicate that it is base on
NOTE : Windows 95 and Windows NT 3.51 and later
NOTE :
NOTE : liupeng xishanju.zhuhai.china 2003.1
NOTE : -----------------------------------------------------------------------------
G:\JX\JX\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.h(36) : error C2061: syntax error : identifier 'ULONG_PTR'
G:\JX\JX\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.h(38) : error C2061: syntax error : identifier 'ULONG_PTR'
G:\JX\JX\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.h(42) : error C2061: syntax error : identifier 'ULONG_PTR'
G:\JX\JX\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.h(46) : error C2061: syntax error : identifier 'ULONG_PTR'
G:\JX\JX\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.h(49) : error C2535: 'unsigned long __thiscall OnlineGameLib::Win32::CIOCompletionPort::GetStatus(void)' : member function already defined or declared
G:\JX\JX\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.h(42) : see declaration of 'GetStatus'
NOTE : --------------------OnlineGame [Server] : Announcement--------------------
NOTE : Developing a truly scalable Winsock Server using IO Completion Ports(IOCP)
NOTE : But this module depend on the microsoft platform
NOTE : Requirements :
NOTE : * Windows NT/2000/XP: Included in Windows NT 4.0 and later.
NOTE : * Windows 95/98/Me: Unsupported.
NOTE :
NOTE : liupeng xishanju.zhuhai.china 2003.1
NOTE : -----------------------------------------------------------------------------
G:\JX\JX\JX\swrod3\SwordOnline\Sources\MultiServer\Common\SocketServer.cpp(348) : error C2065: 'ULONG_PTR' : undeclared identifier
G:\JX\JX\JX\swrod3\SwordOnline\Sources\MultiServer\Common\SocketServer.cpp(348) : error C2146: syntax error : missing ')' before identifier 'pSocket'
G:\JX\JX\JX\swrod3\SwordOnline\Sources\MultiServer\Common\SocketServer.cpp(348) : error C2059: syntax error : ')'
G:\JX\JX\JX\swrod3\SwordOnline\Sources\MultiServer\Common\SocketServer.cpp(431) : error C2146: syntax error : missing ')' before identifier 'pSocket'
G:\JX\JX\JX\swrod3\SwordOnline\Sources\MultiServer\Common\SocketServer.cpp(431) : error C2059: syntax error : ')'
G:\JX\JX\JX\swrod3\SwordOnline\Sources\MultiServer\Common\SocketServer.cpp(957) : error C2065: 'PDWORD_PTR' : undeclared identifier
G:\JX\JX\JX\swrod3\SwordOnline\Sources\MultiServer\Common\SocketServer.cpp(957) : error C2297: '&' : illegal, right operand has type 'class OnlineGameLib::Win32::CSocketServer::Socket *'
G:\JX\JX\JX\swrod3\SwordOnline\Sources\MultiServer\Common\SocketServer.cpp(957) : error C2660: 'GetStatus' : function does not take 3 parameters
G:\JX\JX\JX\swrod3\SwordOnline\Sources\MultiServer\Common\SocketServer.cpp(1011) : error C2660: 'PostStatus' : function does not take 1 parameters
Thread.cpp
Generating Code...
Compiling...
UsesWinsock.cpp
Utils.cpp
Win32Exception.cpp
Generating Code...
Error executing cl.exe.
Common.lib - 45 error(s), 0 warning(s)