>Hello Dragan:
>
>When I subclass mapwingis.ocx it creates a correct instance of mapgingis.map. The other object seems to be inside the ocx but there is no way to subclass it from VFP, other than the command CREATE OBJECT.
>Also, this OCX is open source and royalty free, and there is no .LIC or any other security mechanism. It works great in Delphi, VB 2005 and VB 6
Maybe it is not a separate object, it may be just a separate interface. Check GetInterface() function, it may give you the object reference that you need.