Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HELP : CTypedPtrList !

Status
Not open for further replies.

HippoTas

Programmer
Dec 4, 2001
15
GR
I really need help here :
I have a CObject devired class named : COrderInfo
and i want to have a type safe list
that's why i try to make a list like that :

typedef CTypedPtrList<CObList, COrderInfo*> COrderList;

but it keeps outputing error in compiler. :(

NEXT I tried to define a variable like this :

CTypedPtrList<CObList, COrderInfo*> m_orderList;

but it kept having errors :

error C2501: 'CTypedPtrList' : missing storage-class or type specifiers

CAN YOU HELP ME?

desperate Hippo
 
Sorry for the nuisance.
I haven't had included <afxtempl.h> !
now all work fine :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top