Hi everyone!
I'm currently trying to build an external C++ program that utilizes the scripting function in Mach 3 based off the MachRemote example on the main site. I have added a "Load File" button to the screen, sourced it correctly, and am able to run other scripting commands on it like scripter.DoButton(21) and scripter.DoOEMButton(169) so I know the button is sourced and functions correctly.
It is not allowing me to use the LoadFile or LoadRun command.
Here's the section of code that I have:
void CMachRemoteDlg::OnBnClickedLoadFile()
{
if (scripter == NULL) return;
scripter.LoadFile("c:\Rosetta.tap");
}
Any suggestions as to why this would not work?