Hi,
I have a class as below, when am trying to compile getting the error "Type name Expected". Could any help me to resolve this error.
class _EXPORT DBObject : public Object
{
public:
virtual classType isA() const = 0;
virtual char _FAR *nameOf() const = 0;
virtual hashValueType hashValue() const
{ return (hashValueType)FP_OFF((void far *)this); }
virtual int isEqual( const Object _FAR & ) const = 0;
virtual void printOn( ostream& ) const { ; }
};
You should post the full error message, and the line with the error, and in this instance, the compiler you're using.
Thanks.