Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 5 of 5

loading error

This is a discussion on loading error within the Development forums, part of the MapPoint Desktop Discussion category; I am completely newbie in MapPoint and I am trying to use its ocx (Mappoint 2006) in a Delphi 7 ...

  1. #1
    alxster is offline Junior Member White Belt
    Join Date
    Jan 2008
    Posts
    3

    loading error

    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 Got Mappoint ActiveX working in Delphi 5)

    but now, whenever i try to open a map with

    Code:
    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

    Code:
    AxMappointControl1.NewMap(MapPoint.GeoMapRegion.geoMapEurope)
    and

    i get a

    System.Runtime.InteropServices.COMException occurred in AxInterop.MapPoint.dll
    with 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

  2. #2
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433

    Re: loading error

    Hi,

    I assume mappoint.exe if you try to run is running normal ?
    try to register the exe. with typing: mappoint.exe /registerserver

  3. #3
    alxster is offline Junior Member White Belt
    Join Date
    Jan 2008
    Posts
    3

    Re: loading error

    I assume mappoint.exe if you try to run is running normal ?
    yes

    try to register the exe. with typing: mappoint.exe /registerserver
    so, yes, I already tried this... before posting...

  4. #4
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433

    Re: loading error

    Hi,

    I have no idea. I never tryed it and only use the object model in Delphi. However the thread shows someone who done it also in Delphi7, so it should work. Maybe you have installed the update packs and he did not or way around ?

  5. #5
    alxster is offline Junior Member White Belt
    Join Date
    Jan 2008
    Posts
    3

    Re: loading error

    so, i found how to solve the problem, just with dos command "regsrv32 ole32.dll"

    of course troubles are not finished, because now, it do not give me any error but... just map remain blank, i mean not blank without pushpin etc. i mean the mappoint control shows a empty blank rectangle without any map!!!

    i tried to log the ReadyStateChange event and this is the sequence of state changed:

    READYSTATE_UNINITIALIZED
    READYSTATE_INTERACTIVE
    READYSTATE_COMPLETE

    so, i think there should be some

    READYSTATE_LOADING
    and
    READYSTATE_LOADED

    maybe is there something that goes wrong?

    i tried also on vb and c# (2005 express editio) and also in c# by calling EndInit() method of mappoint control.... same result...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. map loading problem with MappointControl.ocx
    By yooishung in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 06-22-2004, 08:34 AM
  2. Loading restaurants onto map with single search.....
    By bostonpizza in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 01-26-2004, 08:26 AM
  3. Loading Map takes too much time :(
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 08-29-2003, 08:50 AM
  4. Loading some object from the map
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 07-25-2003, 05:23 AM
  5. Batch Loading
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 09-26-2002, 04:19 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91