error C2248:


Hi everyone,

I am getting this error in my code while passing the reference to the function



"error C2248: 'CObject::operator =' : cannot access private member declared in class 'CObject'
"

when i clicked on the error it goes to "afxcoll.h"

help me out thanx in advance
Please show your code. I would guess, however, that you have the assignment operator defined for your class "CObject" but it is private.
Topic archived. No new replies allowed.