Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

AppWizard Dialog Boxes??

Status
Not open for further replies.

JasonDBurke

Programmer
Jun 20, 2001
54
US
Here is the problem.. I have a dialog driven app that has an atl (consumer ODBC) object inserted on it. I have another .cpp file included within the project. I can declare variables in the dialog environment and extern them over into my .cpp file and change the values thus effecting the value in the dialog box. How do i do this with class member functions??? I can instantiate an object of the class by including the header in the other .cpp and I have access to all the member functions but because the dialog is a seperate app any changes i make through the object doesn't effect the ATL code utilized by the member functions. I know this seems strange but its true. The extern keyword works really nice for this problem on variables but how can I accomplish this using class methods?? This is a really strange problem I realize but I can't find any sort of solution to it!! Thanx for any help..
Jason Burke
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top