![]() |
Tasks Question
Iv got a task running and i have a problem.
I cant control anything that isnt static, like solenoids and such. Any way around this? |
Re: Tasks Question
I'm not exactly positive what you're asking, but this thread might help you out: http://www.chiefdelphi.com/forums/sh...=task+tutorial
|
Re: Tasks Question
Thanks, that helped quite a bit.
Though now im having a separate problem with it. When i declate the task: Code:
Task scissorLiftTask("Scissor Lift Task", (FUNCPTR)scissorMovePos);Code:
error: argument of type `void (BuiltinDefaultCode::)(int)' does not match `int (*)(...)'Code:
void scissorMovePos(int argPtr)EDIT:; Also, im getting this error: Code:
error: incompatible types in assignment of `Solenoid* (*)[9]' to `Solenoid*[9]'Code:
scissorLiftTaskArgs.solenoids = &m_solenoids;Code:
struct ScissorsLiftTaskStruct |
| All times are GMT -5. The time now is 13:07. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi