Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
frank2x460 opened this issue Oct 12, 2022 · 1 comment
Open
Assignees

Comments

@frank2x460
Copy link

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

@pmeems
Copy link
Contributor

pmeems commented Aug 21, 2023

Hi @frank2x460 can you make a pull request on the develop branch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants