Hi ,
I m working on Peoplesoft Component Interface. I want to access the
class PSApiException
{
private:
tstring m_sMsg;
PSI32 m_nMsgSet;
PSI32 m_nMsgNum;
public:
PSApiException(LPCTSTR szMsg = _T("Unspecified PS Api exception"), PSI32 nMsgSet = 0, PSI32 nMsgNum = 0) :
m_sMsg(szMsg), m_nMsgSet(nMsgSet), m_nMsgNum(nMsgNum) { }
virtual ~PSApiException() { }
virtual LPCTSTR GetMsg() const { return m_sMsg.c_str(); }
virtual PSI32 GetMsgSet() { return m_nMsgSet; }
virtual PSI32 GetMsgNum() { return m_nMsgNum; }
};
which is in their(Peoplesoft) standard header file PSAPIADAPTERINTER.h.I have included it in my header file exception.h .
I want to inherit it in my class Exception .
But message coming "error C2504: 'PSApiException' : base class undefined " . I m not understanding the problem. The headerfile is in my directory path .
Please help me what could be happen .
Thanks in advance .
Regards
KK