PDA

View Full Version : [JX] Em build code common mà bị lỗi này là sao vậy



heodat139
15-07-15, 11:37 AM
--------------------Configuration: Common - Win32 Debug--------------------
Compiling...
stdafx.cpp
Compiling...
Buffer.cpp
Console.cpp
Event.cpp
EventSelect.cpp
Exception.cpp
IniFile.cpp
IOBuffer.cpp
IOCompletionPort.cpp
D:\JX\swrod3\SwordOnline\Sources\MultiServer\Commo n\IOCompletionPort.h(36) : error C2061: syntax error : identifier 'ULONG_PTR'
D:\JX\swrod3\SwordOnline\Sources\MultiServer\Commo n\IOCompletionPort.h(38) : error C2061: syntax error : identifier 'ULONG_PTR'
D:\JX\swrod3\SwordOnline\Sources\MultiServer\Commo n\IOCompletionPort.h(42) : error C2061: syntax error : identifier 'ULONG_PTR'
D:\JX\swrod3\SwordOnline\Sources\MultiServer\Commo n\IOCompletionPort.h(46) : error C2061: syntax error : identifier 'ULONG_PTR'
D:\JX\swrod3\SwordOnline\Sources\MultiServer\Commo n\IOCompletionPort.h(49) : error C2535: 'unsigned long __thiscall OnlineGameLib::Win32::CIOCompletionPort::GetStatus (void)' : member function already defined or declared
D:\JX\swrod3\SwordOnline\Sources\MultiServer\Commo n\IOCompletionPort.h(42) : see declaration of 'GetStatus'
D:\JX\swrod3\SwordOnline\Sources\MultiServer\Commo n\IOCompletionPort.cpp(27) : error C2061: syntax error : identifier 'ULONG_PTR'
D:\JX\swrod3\SwordOnline\Sources\MultiServer\Commo n\IOCompletionPort.cpp(31) : error C2065: 'completionKey' : undeclared identifier
D:\JX\swrod3\SwordOnline\Sources\MultiServer\Commo n\IOCompletionPort.cpp(38) : error C2065: 'ULONG_PTR' : undeclared identifier
D:\JX\swrod3\SwordOnline\Sources\MultiServer\Commo n\IOCompletionPort.cpp(38) : error C2146: syntax error : missing ')' before identifier 'completionKey'
D:\JX\swrod3\SwordOnline\Sources\MultiServer\Commo n\IOCompletionPort.cpp(38) : error C2182: 'PostStatus' : illegal use of type 'void'
D:\JX\swrod3\SwordOnline\Sources\MultiServer\Commo n\IOCompletionPort.cpp(38) : error C2350: 'CIOCompletionPort::PostStatus' is not a static member
D:\JX\swrod3\SwordOnline\Sources\MultiServer\Commo n\IOCompletionPort.cpp(40) : error C2059: syntax error : ')'
D:\JX\swrod3\SwordOnline\Sources\MultiServer\Commo n\IOCompletionPort.cpp(41) : error C2143: syntax error : missing ';' before '{'
D:\JX\swrod3\SwordOnline\Sources\MultiServer\Commo n\IOCompletionPort.cpp(41) : error C2447: missing function header (old-style formal list?)
D:\JX\swrod3\SwordOnline\Sources\MultiServer\Commo n\IOCompletionPort.cpp(51) : error C2065: 'pCompletionKey' : undeclared identifier
D:\JX\swrod3\SwordOnline\Sources\MultiServer\Commo n\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'
D:\JX\swrod3\SwordOnline\Sources\MultiServer\Commo n\IOCompletionPort.cpp(52) : error C2146: syntax error : missing ')' before identifier 'pdwNumBytes'
D:\JX\swrod3\SwordOnline\Sources\MultiServer\Commo n\IOCompletionPort.cpp(52) : error C2350: 'CIOCompletionPort::GetStatus' is not a static member
D:\JX\swrod3\SwordOnline\Sources\MultiServer\Commo n\IOCompletionPort.cpp(52) : error C2078: too many initializers
D:\JX\swrod3\SwordOnline\Sources\MultiServer\Commo n\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'
D:\JX\swrod3\SwordOnline\Sources\MultiServer\Commo n\IOCompletionPort.cpp(53) : error C2059: syntax error : ')'
D:\JX\swrod3\SwordOnline\Sources\MultiServer\Commo n\IOCompletionPort.cpp(54) : error C2143: syntax error : missing ';' before '{'
D:\JX\swrod3\SwordOnline\Sources\MultiServer\Commo n\IOCompletionPort.cpp(54) : error C2447: missing function header (old-style formal list?)
D:\JX\swrod3\SwordOnline\Sources\MultiServer\Commo n\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'
D:\JX\swrod3\SwordOnline\Sources\MultiServer\Commo n\IOCompletionPort.cpp(68) : error C2146: syntax error : missing ')' before identifier 'pdwNumBytes'
D:\JX\swrod3\SwordOnline\Sources\MultiServer\Commo n\IOCompletionPort.cpp(68) : error C2350: 'CIOCompletionPort::GetStatus' is not a static member
D:\JX\swrod3\SwordOnline\Sources\MultiServer\Commo n\IOCompletionPort.cpp(68) : error C2078: too many initializers
D:\JX\swrod3\SwordOnline\Sources\MultiServer\Commo n\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'
D:\JX\swrod3\SwordOnline\Sources\MultiServer\Commo n\IOCompletionPort.cpp(70) : error C2059: syntax error : ')'
D:\JX\swrod3\SwordOnline\Sources\MultiServer\Commo n\IOCompletionPort.cpp(71) : error C2143: syntax error : missing ';' before '{'
D:\JX\swrod3\SwordOnline\Sources\MultiServer\Commo n\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 : -----------------------------------------------------------------------------
D:\JX\swrod3\SwordOnline\Sources\MultiServer\Commo n\IOCompletionPort.h(36) : error C2061: syntax error : identifier 'ULONG_PTR'
D:\JX\swrod3\SwordOnline\Sources\MultiServer\Commo n\IOCompletionPort.h(38) : error C2061: syntax error : identifier 'ULONG_PTR'
D:\JX\swrod3\SwordOnline\Sources\MultiServer\Commo n\IOCompletionPort.h(42) : error C2061: syntax error : identifier 'ULONG_PTR'
D:\JX\swrod3\SwordOnline\Sources\MultiServer\Commo n\IOCompletionPort.h(46) : error C2061: syntax error : identifier 'ULONG_PTR'
D:\JX\swrod3\SwordOnline\Sources\MultiServer\Commo n\IOCompletionPort.h(49) : error C2535: 'unsigned long __thiscall OnlineGameLib::Win32::CIOCompletionPort::GetStatus (void)' : member function already defined or declared
D:\JX\swrod3\SwordOnline\Sources\MultiServer\Commo n\IOCompletionPort.h(42) : see declaration of 'GetStatus'
D:\JX\swrod3\SwordOnline\Sources\MultiServer\Commo n\SocketServer.h(24) : fatal error C1083: Cannot open include file: '..\heaven\interface\IServer.h': No such file or directory
Thread.cpp
Generating Code...
Compiling...
UsesWinsock.cpp
Utils.cpp
Win32Exception.cpp
Generating Code...
Error executing cl.exe.

Common.lib - 37 error(s), 0 warning(s)