I am converting a build 509 indicator to 610 and am getting the error: "arrays are passed by reference only" for lpRect in GetClientRect. How can I fix it?
int GetClientRect(int hWnd,int lpRect);
You can't fix that - it's a new feature (no alternative - as far as I know)!
What you get is a warning not an error!
Be clear by changing you code:
int GetClientRect(int hWnd,int& lpRect);
int GetClientRect(int hWnd,int &lpRect);
To add comments, please log in or register