Hi Angus,
I'm using XE6 and trying to use DrawDashedLine (from img32.draw unit), however the compiler is giving me and error of "there is no overloaded version of DrawDashedLine that can be called with these arguments"
In my code, I'm declaring it as
Img32.Draw.DrawDashedLine(AImage, AArc, [2, 2], nil, 2, claqua32, esPolygon);
Works perfectly on XE7, but not in XE6...
Any ideas ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Without looking at my code, I suspect the problem is with the integer array that you're passing to this procedure. It's very likely that a dynamic array is expected (as opposed to an open array) and older versions of Delphi will require these to be constructed separately and passed as named variables.
Last edit: Angus Johnson 2021-12-16
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Angus,
I'm using XE6 and trying to use DrawDashedLine (from img32.draw unit), however the compiler is giving me and error of "there is no overloaded version of DrawDashedLine that can be called with these arguments"
In my code, I'm declaring it as
Img32.Draw.DrawDashedLine(AImage, AArc, [2, 2], nil, 2, claqua32, esPolygon);
Works perfectly on XE7, but not in XE6...
Any ideas ?
Without looking at my code, I suspect the problem is with the integer array that you're passing to this procedure. It's very likely that a dynamic array is expected (as opposed to an open array) and older versions of Delphi will require these to be constructed separately and passed as named variables.
Last edit: Angus Johnson 2021-12-16