ITEM LINK not contant

06/12/2013 16:20 WooTheFck#1
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 )
{
06/12/2013 16:44 Ryunat#2
Quote:
Originally Posted by WooTheFck View Post
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 )
{
Define! SNAPSHOTTYPE_LINKEDITEM
Read the errors...
06/12/2013 16:54 WooTheFck#3
Fixed.



#CloseRequest