thuanbk
Junior Member level 3
i am doing with EVC++4.0 :
code :
class CPDASocket : public CCeSocket
{
DECLARE_DYNAMIC (CPDASocket);
public:
//
// Constructor
//
CPDASocket(PURP OSE_E iPurpose=FOR_DA TA);
protected:
//
// Called when data arrives
//
virtual void OnReceive(int nErrorCode);
};
Deleting intermediate files and output files for project 'PDABOT - Win32 (WCE emulator) Debug'.
--------------------Configuration: PDABOT - Win32 (WCE emulator) Debug--------------------
Compiling resources...
Compiling...
StdAfx.cpp
F:\CHUONGTRINH\ ROBOT\PDABOT\PD ASocket.h(3) : error C2504: 'CCeSocket' : base class undefined
F:\CHUONGTRINH\ ROBOT\PDABOT\PD ASocket.h(13) : error C2629: unexpected 'class CPDASocket ('
F:\CHUONGTRINH\ ROBOT\PDABOT\PD ASocket.h(13) : error C2238: unexpected token(s) preceding ';'
Error executing cl.exe.
PDABOT.exe - 3 error(s), 0 warning(s)
i using windown xp2
code :
class CPDASocket : public CCeSocket
{
DECLARE_DYNAMIC (CPDASocket);
public:
//
// Constructor
//
CPDASocket(PURP OSE_E iPurpose=FOR_DA TA);
protected:
//
// Called when data arrives
//
virtual void OnReceive(int nErrorCode);
};
Deleting intermediate files and output files for project 'PDABOT - Win32 (WCE emulator) Debug'.
--------------------Configuration: PDABOT - Win32 (WCE emulator) Debug--------------------
Compiling resources...
Compiling...
StdAfx.cpp
F:\CHUONGTRINH\ ROBOT\PDABOT\PD ASocket.h(3) : error C2504: 'CCeSocket' : base class undefined
F:\CHUONGTRINH\ ROBOT\PDABOT\PD ASocket.h(13) : error C2629: unexpected 'class CPDASocket ('
F:\CHUONGTRINH\ ROBOT\PDABOT\PD ASocket.h(13) : error C2238: unexpected token(s) preceding ';'
Error executing cl.exe.
PDABOT.exe - 3 error(s), 0 warning(s)
i using windown xp2