221
Mach4 General Discussion / Re: Connect to Mach4 using VS 2012 C++
« on: February 13, 2019, 02:31:17 PM »
The key word in the api document under "supported platforms" is the word "plugins". The SDK is only available for those writing hardware plugins. (Correct me if I am wrong guys)/
I have coded in C, C++, pascal and object pascal. Learning LUA is painful but if you are going to use Mach4 for anything beside running gcode you would benefit from giving it a t try. I have attached a link that demonstrates how to connect to mach4 and call the API functions from object pascal. You should be able to modify it for C++
https://www.machsupport.com/forum/index.php?topic=34259.msg237003#msg237003
HTH
RT
I have coded in C, C++, pascal and object pascal. Learning LUA is painful but if you are going to use Mach4 for anything beside running gcode you would benefit from giving it a t try. I have attached a link that demonstrates how to connect to mach4 and call the API functions from object pascal. You should be able to modify it for C++
https://www.machsupport.com/forum/index.php?topic=34259.msg237003#msg237003
HTH
RT