I have an ext dll which has a base class, It has been simplified so could see what going on Header file defined as
#include "CmnStruct.h"
class B10 CBYetiBase : public CmnStruct
{
public:
YVoid CreateErrControlStruct(sAppParam *sParams, PROTO_ERR_CODES);
};
in Source Code
YVoid CBYetiBase::CreateErrControlStruct(sAppParam *sParams, PROTO_ERR_CODES)
{
FNC_INITIAL(CreateErrControlStruct); L_RET_PTRNULL(sErrControl);
int n = 0;
n = CmnStruct::Return();
RETASYVOID;
}
this is all thats in CmnStruct
class CmnStruct
{
public:
int Return();
};
int CmnStruct::Return()
{
return LB_ERR;
}
Most of the words are defined macros and work else where when run it jumps line between marked ***
What I have tried:
Have tried making the class CmnStruct to use -> and . as function calls
the only way it works is by removing the class and putting the code directly into CBYetiBase::CreateErrControlStruct but I need to reference other functions from the Cmn class (the function used here, has been simplified)