Hello
I have a member variable in the class CSpanaView,called ZoomIndicator. I want to access that variable in aother class CFastZoom. Below is the code by me to do above task
CFastZoom::OnCancel()
{
CSpanaView *ptSpana;
ptSpana->ZoomIndicator=FALSE;
}

but there is a memory exception when i run the code above

ZoomIndicator is a bool

Please help me!Thank You!