Machsupport Forum

Mach Discussion => Mach SDK plugin questions and answers. => Topic started by: dgraybeal on May 18, 2009, 12:39:24 PM

Title: IsMoving function problem
Post by: dgraybeal on May 18, 2009, 12:39:24 PM
Trying to cal the IsMoving function from a plugin. No matter how I try to convince the compiler that it is defined, it kicks an error of undeclared identifier. If is defined in the headers but.....?
Title: Re: IsMoving function problem
Post by: ger21 on May 18, 2009, 01:28:34 PM
Are you using

While
IsMoving
Wend
Title: Re: IsMoving function problem
Post by: dgraybeal on May 18, 2009, 01:34:41 PM
No, I am calling the IsMoving function from the callback function in C++. The same thing happens when I try to call DoOEMButton, but the DoButton and GetDRO functions work just fine. I went through the plugin tutorial, and the file CMyScriptObject.h was built correctly. The functions are declared in the header file, yet the compiler (Visual Studio 2003) can't seem to resolve the IsMoving call. Everything else is working correctly.
Title: Re: IsMoving function problem
Post by: ger21 on May 18, 2009, 03:02:04 PM
Sorry, thought you were talking about VB.