Skip to content

Shape.get_XY does not work because of wrong interface-description #224

@frank2x460

Description

@frank2x460

Error in MapWinGIS.idl

interface IShape:

the entry for the get_XY function should be:
[id(38), helpstring("method get_XY")] HRESULT get_XY([in] LONG PointIndex, [in, out]double* x, [in, out]double* y, [out, retval] VARIANT_BOOL* retval);

WRONG:
[propget, id(38), helpstring("property XY")] HRESULT XY([in]long PointIndex, [in, out]double* x, [in, out]double* y, [out, retval] VARIANT_BOOL* retval);

After that change the get_XY function works as described in the documentation!

Would be nice if someone could fix this.
Thanks,
Frank

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions