For the following comparison in my code in the call-back function to be implemented by the application, void MSIPConnectionObserver::IncomingRequest(CSIPServerTransaction *aTransaction, CSIPDialog &aDialog)
if(aDialog == *pSIPInviteDialogAssoc->Dialog())
where pSIPInviteDialogAssoc is of type CSIPInviteDialogAssoc*, I get the following compilation error:
a pointer/array type was expected for this operation instead of 'CSIPDialog'
CSIPInviteDialogAssoc inherits from CSIPDialogAssocBase, and inherits the Dialog() method from CSIPDialogAssocBase.
And CSIPDialog provides a TBool operator==(const CSIPDialog &) const method for comparison.
I am not sure what is causing the compiler to show this error. Any suggestions would be appreciated.