11-10-2006 02:46 AM
11-10-2006 06:12 PM
01-26-2010 02:51 PM
Hi I'm trying to develop an application in visual C++ using functions from NI Motion, to control linear motor guides through NI PCI 7356 Motion Controller.
I have written and compiled some of the C example programs that come in the NI Motion examples folder succesfully, but they are only written for Win32 Console Application. I would like to know if it's possible to define classes (to encapsulate code) and create Windows form applications (to create graphical user interfaces), in visual C++ 2008 or if it's only possible in console application. Also when I define a class in Visual C++ (Console application) and declare and object of that class (that contains NI Motion fucntions) I get some errors after compiling (This is not the case If I only define a routine and call it in the void main(void) method).
I hope you can help me or give some advice.
Thanks.
Arturo Marban