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 2 of 2

ActiveX performance with .NET

This is a discussion on ActiveX performance with .NET within the MapPoint Desktop Discussion forums, part of the Map Forums category; javascript :emoticon(' ')Hi all, I have a .NET-based container application which act as a MapServer hosting several copies of MP ...

  1. #1
    cd4000 is offline Junior Member White Belt
    Join Date
    Aug 2004
    Posts
    6

    ActiveX performance with .NET

    javascript:emoticon('')Hi all,

    I have a .NET-based container application which act as a MapServer hosting several copies of MP ActiveX and then there are client applications accessing the server over .NET remoting. At this point both client and server are being run on the same machine.

    For some reason when my map server calls any ActiveX method it is very slow. For example, calling Map.NewMap() may easily block for few seconds! Rendering a simple map with several pushpins takes at least 3-5 seconds.

    Is this because of Interop layers around ActiveX or am I doing something really wrong? At this point I am ready to start porting the whole server into VB6 to avoid .NET overhead.

    Interestingly that MapPoint 2004 itself does not seem to be that slow, when used interactively.

    Any suggestions?

    Thank you.
    Alex O.

  2. #2
    cd4000 is offline Junior Member White Belt
    Join Date
    Aug 2004
    Posts
    6
    After battling for some time with slow performance of MapPoint ActiveX (especially NewMap() and AddPushpin() methods), I have switched to using MapPoint.Application object instead.

    Although it is still not the fastest, the whole process of map rendering / adding pushpins / returning map image has become about 2-3 times faster.

    Figures! I would assume exactly the opposite due to an inter-process communication overhead, which suppose to be less in case with ActiveX (there is still Interop).

    Has anyone else seen this pattern, or is it solely my experience?

    Alex O.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Performance
    By Eric Frost in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 03-24-2006, 06:27 AM
  2. Performance and Dedicated Lanes
    By giando in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 11-10-2004, 04:19 AM
  3. Mappoint ActiveX performance
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 09-09-2003, 05:13 PM
  4. Performance within a vb.net app..
    By douglas in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 06-04-2003, 09:22 AM
  5. MapPoint Add-In performance
    By rseman in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 05-06-2003, 08:00 AM

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