Thank you for your reply. My question is actually how to pass an information of CDatabase from a CDialog class to the another class which define the database as CDatabase*.
For example, I have a CDialog class which is defined as:
CDatabase db; (defined in the header)
db.Open(NULL,false,false,"ODBC;",TRUE);
....
I have another class which needs the information from the opened database. The declaration:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.