bg5
2011-12-22 12:20:33
I have some stupid problem with WaitFunc. I can't put in it function with any argument. For example:
Compiled well. But if I add any argument to function:
Type mismatch error.
Also I tried:
Neither works. How to do that?
Function MyFunction: Boolean;
WaitFunc(@MyFunction,100,1000);Compiled well. But if I add any argument to function:
Function MyFunction(a:integer): Boolean;
WaitFunc(@MyFunction(3),100,1000);Type mismatch error.
Also I tried:
WaitFunc((@MyFunction(3)),100,1000);WaitFunc(@(MyFunction(3)),100,1000);Neither works. How to do that?