basically i am getting error C2926, it is brought about by this piece of code:
CLinkedList<struct TagStruct> TagStructList;
clinkedlist is a class that sontroles a liked list, this line is meant to create a list of struct TagStruct objects called TagStructList. the structure itself is made with this code:
struct stTagInfo
{
BYTE byMajorTag[2];
BYTE byMinorTag[2];
unsigned long ulTagPosition;
} TagStruct;
when i place the struct declaration in either the main cpp file or in a header i get the error on the line that defines the linked list. i know that i am doing something very obviously wrong but the error code does not make me see how to fix it, is it the struct that i need to give linkage to? if so how? can i even give something linkage? i am obviously fairly new to this lark and am sure i am doing something hugely wrong in the way i am trying to implement this, but i dont know how i am supposed to do it. If i have missed a needed piece of info please ask.
Many Many Thanks
CLinkedList<struct TagStruct> TagStructList;
clinkedlist is a class that sontroles a liked list, this line is meant to create a list of struct TagStruct objects called TagStructList. the structure itself is made with this code:
struct stTagInfo
{
BYTE byMajorTag[2];
BYTE byMinorTag[2];
unsigned long ulTagPosition;
} TagStruct;
when i place the struct declaration in either the main cpp file or in a header i get the error on the line that defines the linked list. i know that i am doing something very obviously wrong but the error code does not make me see how to fix it, is it the struct that i need to give linkage to? if so how? can i even give something linkage? i am obviously fairly new to this lark and am sure i am doing something hugely wrong in the way i am trying to implement this, but i dont know how i am supposed to do it. If i have missed a needed piece of info please ask.
Many Many Thanks