I have a class Form2 in my MFC project which is defined as :
class Dee_Form2 : public CDialog
Load ld ;
// code for class' data and functions
I have another class called Load in the project which has prvate data and public member functions. I need to be able to acess most of the private data members of load through form 2 . I dont want to have to write a get member function to return a data member from the Load class. Whats the workaround?