alxster
01-09-2008, 10:12 AM
I am completely newbie in MapPoint and I am trying to use its ocx (Mappoint 2006) in a Delphi 7 application (i modified ole sources as in http://www.mapforums.com/got-mappoint-activex-working-delphi-5-a-1973.html)
but now, whenever i try to open a map with
map: TMappointControl;
..............
map.NewMap(geoMapEurope);
it gives me an EOleException with the following error message (translated from italian):
Unknown Error. Impossible loading Mappoint
(Original in italian: Errore sconosciuto. Impossibile caricare MapPoint)
i tried the same in VB 2005 Express Edition
AxMappointControl1.NewMap(MapPoint.GeoMapRegion.ge oMapEurope)and
i get a
System.Runtime.InteropServices.COMException occurred in AxInterop.MapPoint.dllwith same error message and errorcode = -2147221163
it is like if it is not able to "launch" mappoint instance... maybe i have to set any configuration tip?
thanks in advance
but now, whenever i try to open a map with
map: TMappointControl;
..............
map.NewMap(geoMapEurope);
it gives me an EOleException with the following error message (translated from italian):
Unknown Error. Impossible loading Mappoint
(Original in italian: Errore sconosciuto. Impossibile caricare MapPoint)
i tried the same in VB 2005 Express Edition
AxMappointControl1.NewMap(MapPoint.GeoMapRegion.ge oMapEurope)and
i get a
System.Runtime.InteropServices.COMException occurred in AxInterop.MapPoint.dllwith same error message and errorcode = -2147221163
it is like if it is not able to "launch" mappoint instance... maybe i have to set any configuration tip?
thanks in advance