Code:
Deleting intermediate files and output files for project 'Common - Win32 Release'.
--------------------Configuration: Common - Win32 Release--------------------
Compiling...
stdafx.cpp
Compiling...
Buffer.cpp
Console.cpp
Event.cpp
EventSelect.cpp
Exception.cpp
IniFile.cpp
IOBuffer.cpp
IOCompletionPort.cpp
C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.h(36) : error C2061: syntax error : identifier 'ULONG_PTR'
C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.h(38) : error C2061: syntax error : identifier 'ULONG_PTR'
C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.h(42) : error C2061: syntax error : identifier 'ULONG_PTR'
C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.h(46) : error C2061: syntax error : identifier 'ULONG_PTR'
C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.h(49) : error C2535: 'unsigned long __thiscall OnlineGameLib::Win32::CIOCompletionPort::GetStatus(void)' : member function already defi
ned or declared
        C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.h(42) : see declaration of 'GetStatus'
C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(27) : error C2061: syntax error : identifier 'ULONG_PTR'
C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(31) : error C2065: 'completionKey' : undeclared identifier
C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(38) : error C2065: 'ULONG_PTR' : undeclared identifier
C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(38) : error C2146: syntax error : missing ')' before identifier 'completionKey'
C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(38) : error C2182: 'PostStatus' : illegal use of type 'void'
C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(38) : error C2350: 'CIOCompletionPort::PostStatus' is not a static member
C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(40) : error C2059: syntax error : ')'
C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(41) : error C2143: syntax error : missing ';' before '{'
C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(41) : error C2447: missing function header (old-style formal list?)
C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(51) : error C2065: 'pCompletionKey' : undeclared identifier
C:\Documents and Settings\Administrator\Desktop\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'
C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(52) : error C2146: syntax error : missing ')' before identifier 'pdwNumBytes'
C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(52) : error C2350: 'CIOCompletionPort::GetStatus' is not a static member
C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(52) : error C2078: too many initializers
C:\Documents and Settings\Administrator\Desktop\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'
C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(53) : error C2059: syntax error : ')'
C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(54) : error C2143: syntax error : missing ';' before '{'
C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(54) : error C2447: missing function header (old-style formal list?)
C:\Documents and Settings\Administrator\Desktop\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'
C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(68) : error C2146: syntax error : missing ')' before identifier 'pdwNumBytes'
C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(68) : error C2350: 'CIOCompletionPort::GetStatus' is not a static member
C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(68) : error C2078: too many initializers
C:\Documents and Settings\Administrator\Desktop\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'
C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(70) : error C2059: syntax error : ')'
C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.cpp(71) : error C2143: syntax error : missing ';' before '{'
C:\Documents and Settings\Administrator\Desktop\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 : -----------------------------------------------------------------------------
C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.h(36) : error C2061: syntax error : identifier 'ULONG_PTR'
C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.h(38) : error C2061: syntax error : identifier 'ULONG_PTR'
C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.h(42) : error C2061: syntax error : identifier 'ULONG_PTR'
C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.h(46) : error C2061: syntax error : identifier 'ULONG_PTR'
C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\IOCompletionPort.h(49) : error C2535: 'unsigned long __thiscall OnlineGameLib::Win32::CIOCompletionPort::GetStatus(void)' : member function already defi
ned or declared
        C:\Documents and Settings\Administrator\Desktop\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 : -----------------------------------------------------------------------------
C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\SocketServer.cpp(348) : error C2065: 'ULONG_PTR' : undeclared identifier
C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\SocketServer.cpp(348) : error C2146: syntax error : missing ')' before identifier 'pSocket'
C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\SocketServer.cpp(348) : error C2059: syntax error : ')'
C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\SocketServer.cpp(431) : error C2146: syntax error : missing ')' before identifier 'pSocket'
C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\SocketServer.cpp(431) : error C2059: syntax error : ')'
C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\SocketServer.cpp(957) : error C2065: 'PDWORD_PTR' : undeclared identifier
C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\SocketServer.cpp(957) : error C2297: '&' : illegal, right operand has type 'class OnlineGameLib::Win32::CSocketServer::Socket *'
C:\Documents and Settings\Administrator\Desktop\JX\swrod3\SwordOnline\Sources\MultiServer\Common\SocketServer.cpp(957) : error C2660: 'GetStatus' : function does not take 3 parameters
C:\Documents and Settings\Administrator\Desktop\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)
ngay từ khi build common đã bị tá lỗi này . Mình không biết sửa sao nữa .. mọi người có kinh nghiệm chỉ giúp mình với !!!