I am trying to run the following code in dspMC_AxisWorks Dlg.cpp from trial.h. I have a button and when I press the button, I want it to execute bool CdspMC_AxisWork sDlg::ValidExec Data().
If anyone could give me direction on how to solve this problem it would be greatly appreciated.
If anyone could give me direction on how to solve this problem it would be greatly appreciated.
//trial.h
#pragma endregion
private: System::Void button1_Click(S ystem::Object^ sender, System::EventAr gs^ e) {
CdspMC_AxisWork sDlg::ValidExec Data();
}
#pragma endregion
private: System::Void button1_Click(S ystem::Object^ sender, System::EventAr gs^ e) {
CdspMC_AxisWork sDlg::ValidExec Data();
}
//trial.cpp
#include "trial.h"
int main()
{
}
#include "trial.h"
int main()
{
}
// dspMC_AxisWorks Dlg.cpp : implementation file
// include statements are here but not shown
bool CdspMC_AxisWork sDlg::ValidExec Data()
{
//code
}
// include statements are here but not shown
bool CdspMC_AxisWork sDlg::ValidExec Data()
{
//code
}