V
vvalentine
Guest
Well, I'm a noob when it comes to MFC. I just starting programming with MFC a couple of weeks ago, and there are still many things I don't know.
Here is my problem.
I'm trying to pass int and double variables from dialog to dialogs, and every time I try to make a non-mfc class I keep getting errors. So far I know how to pass strings from one dialog to another dialog, but I need to pass variables. I was also thinking of using pointers to pass the variables, but I still kept getting other errors. If you guys can give me a code example, that would be truly appreciated. My head hurts, and I'm running out of time. I've been able to solve many of the obstacles I've had coding the program, but unfortunately I haven't found any tuturials for this next problem.
So if you guys can help me, and spare me some sanity, it will really help. Thanks in advance.
Here is my problem.
I'm trying to pass int and double variables from dialog to dialogs, and every time I try to make a non-mfc class I keep getting errors. So far I know how to pass strings from one dialog to another dialog, but I need to pass variables. I was also thinking of using pointers to pass the variables, but I still kept getting other errors. If you guys can give me a code example, that would be truly appreciated. My head hurts, and I'm running out of time. I've been able to solve many of the obstacles I've had coding the program, but unfortunately I haven't found any tuturials for this next problem.
So if you guys can help me, and spare me some sanity, it will really help. Thanks in advance.