Using CMapStringToObj?
08-Jul-94 02:36:43
Sb: #30094-Using CMapStringToObj?
Fm: Mark H. James 73266,2400
To: SuperStudio 100274,1374
I think you want to use a CObject pointer in the function, and then after you
get it, cast it to a pointer to your own class that you are mapping before
using it, something like:
CObject* pObj; GetNextAssoc ( …, … , pObj); CMyClass* pMyClass =
(CMyClass*) pObj;
There may be an easier way to do this that I don't know about, though.
–mark j.