Quantcast
Channel: MapWinGIS ActiveX Map and GIS Component
Viewing all articles
Browse latest Browse all 2341

New Post: Installation MapWinGis.ocx rev 52393 . Error in Delphi

$
0
0
I haven't got Delphi myself to check it. But I checked the source. The property is defined like this in idl:
[propput, id(14), helpstring("property Owner")] HRESULT Owner([in] int * t, [in] int * d, [in] int * s, [in] int * l, [in] int * f)
So I guess the proper type for all four parameters in pas file should be PSYSINT1 as they are pointers (fifth parameter is treated as the property value and the type is set as PSYSINT1 for it).

Also in fact this property can be safely removed from API as it is for the inner use only. I'll remove it on the next commit, it simply haven't drawn my attention before.

I'm not sure as to what version of MapWinGIS you are using, revision 52393 seems to be something quite old (the first commit listed on this site is 55434). We've just released v4.9.3 which is the recommended one to use. If your TLB problem can't be solved by manual editing we can arrange a hot fix for it by removing the property from API.

Regards,
Sergei

Viewing all articles
Browse latest Browse all 2341

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>