hi all,
I have a question in reference to accessing variables in another class maybe
someone has dealt with before.
I have some public variables declared in my main plug-in class
CCommandMeshToSrf,
eg: BOOL m_bHaveAnswer;
I want to set this variable from within a dialog class which is defined in
separate .h and .cpp files of course. How would one access this varibale
from a method defined in my CTestModelessDialog class ?
I had this working in a previous version by declaring a pointer to the main
plug-in
class:
CCommandMeshToSrf *m_cmd; and then accessing the public vairable in the
CTestModelessDialog class by using:
m_cmd->m_bHaveAnswer
Recently, it shows up as an undefined variable and crashes....any ideas
?
thanks,
jurek