MapWinGIS.ocx is a FREE and OPEN SOURCE C++ based geographic information system programming ActiveX Control and application programmer interface (API) that can be added to a Windows Form in Visual Basic, C#, Delphi, or other languages that support ActiveX, providing your app with a map. Go to our forum for questions and help:
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);
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