I have the following lines in my source code which is giving the error
error C2275: 'HPDF_Array' : illegal use of this type as an expression" : This is the actual code in the header file:
typedef struct _HPDF_Array_Rec *HPDF_Array;
typedef struct _HPDF_Array_Rec {
HPDF_Obj_Header header;
HPDF_MMgr mmgr;
HPDF_Error error;
HPDF_List list;
} HPDF_Array_Rec;
HPDF_Array id;
How do I resolve this error?