Machsupport Forum

Mach Discussion => Mach SDK plugin questions and answers. => Topic started by: JAV on November 09, 2012, 07:34:48 PM

Title: "IsMoving" function with VS2008 plugin Wizard?
Post by: JAV on November 09, 2012, 07:34:48 PM
Hi!
I'm working on a new plugin using VS2008 plugin wizard, but I get no way of calling the function "IsMoving()".
TrajectoryControl.h and MyScriptObject.h have been omitted in this wizard, so I don't know how I can get this function.

In my plugin I call "Code()" function several times and I'm getting unexpected results ... that's what I need to use some thing like: "while (IsMoving()) { Sleep(100);}" in my source.


Do you know a solution for this problem?


Thank you very much by advance!