I dont know what is the problem i set everything i the right place
DPClient.cpp(369) : error C2065: 'SNAPSHOTTYPE_LINKEDITEM' : undeclared identifier
DPClient.cpp(369) : error C2051: case expression not constant
here's the snopshottype
#ifdef __ITEM_LINK
case SNAPSHOTTYPE_LINKEDITEM: OnLinkedItem(ar); break;
#endif //__ITEM_LINK
then i put it under the:
switch( hdr )
{