I'm trying to call the method that returns a unsigned char
through another method of the same class, I've reviewed the entire internet but I did not understand how to do it.
byte CryrazCore::*ComputeByteArray(byte inputData[], bool decryptMode)
{
int cs = this->CryrazCore::PushChecksum();
}
The method I'm trying to call is called CryrazCore::PushChecksum()
, here's the declaration of it:
// CryrazCore.cpp
byte CryrazCore::PushChecksum()
// CryrazCore.h
byte PushChecksum();
Here's what it says in the error, in the first line of the question.
'this': can only be referenced inside non-static member functions or non-static data member initializers
Where am I wrong to call the function?