How can I access a control from another class ( in MFC )? Example:
COtherClass *other;
other->m_TheControl.GetWindowText( buffer );
or
COtherClass other;
other.m_TheControl.GetWindowText( buffer );
I've tryed both, but in the execution of the program an "Debug Assertion Error" is showed.
What's going wrong?
I'm using VC++.