WEll - I ended up trying to fit the two functions into one cpp file. I thopught there might be an easy way of switching data, butI guess not.
Thanks for you reply, I appreciate it.
The dialogs are open at the same time.
How do employ a global variable? I've tried using a common Class but that has not proven to work yet.
Also the variable keeps getting updated once every 20ms.
Well - this is more of a hypothetical setup. I'm using MFC and have a double variable that keeps changing in one dialog window, and I want to be able to acces that variable from from the other window.
Anyone know how to tackle this...
I've got file1.h, file1.cpp, file 2.h, file2.cpp. I want to be ablte to access a variable in file1.cpp from file2.cpp. The Variables are in classes. I've tried creating file3.h&cpp that would carry a class accessable from files 1&2, but when I do this, both...
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.