a little problem when using VS2008
chenmic
✭
I want to use VS2008 to control the robot
but the manual only have C# version...
Nowadays, I have faced a problem
when I follow the manual to create a button to start the program execution
the C# code :
private Task[] tasks = null //declare the tasks
....
tasks = controller.Rapid.GetTasks();
....
but in the VS2008
it can't do the same way
so i change the code:
private static Task^ tasks = nullptr;
...
tasks = aController->Rapid->GetTasks();
....
there is one error when compiling :
errorC2440
can anyone help me to solve this problem?
thanks a lot!
0
Comments
-
problem solved!array<Task^>^ tasks;0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 786 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings