[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 254
  • Last Modified:

Pointer to the application file

Hiya

I have added a function to the main file of an SDI application i.e. the application is called MyProgram and the file which has the main appplication class is MyProgram.cpp with class CMyProgramApp.

I would like to call this function from elsewhere in the application e.g. View Doc. How can I get a pointer to access the function?

John
0
IssacJones
Asked:
IssacJones
1 Solution
 
IssacJonesAuthor Commented:
Found it myself. You use theApp variable.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now