
Originally Posted by
vinp
Hello,
I my code, I am trying to validate the state of a connection before processing a received request in MSIPConnectionObserver::IncomingRequest().
I check whether the connection is in active state as follows:
if(Eactive = pconnection->State())
//do further processing
But I get an error that the identifier EActive is not defined. In the documentation, the enum value is mentioned as part of the TState enum.
I am including sipconnection.h in my header file.
Any idea why this error from the compiler?
TIA
Vin