I don't know why, but whenever I try to compile a program with a CList class in it (the MFC linked list-ish class, not the box control) I get errors up the wazoo.
Here's the gist of what I'm doing.
char cmd, opt;
CList<ScriptStruct, ScriptStruct&> myScript;
For some reason I get errors all over the place just by adding that CList<> myScript line. It actually seems like it's not recognizing it as a templated class because it complains about the '<' and semi colons and everything, even though the syntax is correct (yes, it is correct).
I'm throwing this in the (PRJ)Doc class of my project if it is of any consolation. Thanks.