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

OCX and mappoint upgrades

This is a discussion on OCX and mappoint upgrades within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hi, Something I'm thinking about before it is too late. I have a lots of applications in Delphi using the ...

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

    OCX and mappoint upgrades

    Hi,

    Something I'm thinking about before it is too late. I have a lots of applications in Delphi using the object model, started with MP 2002. There was not any problem upgrading mappoint.

    However I came into the temptation to use C# and the ActiveX control of mappoint (2004). What will happens if mappoint 2006 comes out ? Will the compiled programs work with both versions ?

    I'm a little afraid it will not and I hope I'm very wrong with this assumption. It is impossible to make separate project for different versions of mappoint because of maintenance.

    How do you solve this ?

  2. #2
    Winwaed's Avatar
    Winwaed is offline Mapping-Tools.com Black Belt
    Join Date
    Feb 2004
    Location
    Irving,Texas
    Posts
    1,859
    Blog Entries
    60
    I think you should be okay. The object models for MP 2002 and 2004 are virtually the same. 2004 only added a couple of methods iirc.

    I avoid those methods, which allows my programs to work with both if I don't explicitly give the version number. Try it!


    Richard
    Winwaed Software Technology LLC
    http://www.winwaed.com
    See http://www.mapping-tools.com for MapPoint Tools

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

    Thanks for reply. But I did probably not phrase my question good. You are telling me that object model is compatible between versions, but does this means that using the ActiveX component is not ?

    Because if it is not I have to review the applications in C# using the component and change it to the object model. Is that right ?

  4. #4
    Winwaed's Avatar
    Winwaed is offline Mapping-Tools.com Black Belt
    Join Date
    Feb 2004
    Location
    Irving,Texas
    Posts
    1,859
    Blog Entries
    60
    I think we have a terminology problem here!

    I see the ActiveX component as a subset of the object model. When you use it, you also use a small number of objects which are only used with ActiveX (and not in an add-in such as MileCharter, or a "stand alone" such as GridImp). However, I'm using the term "object model" to refer to the full group of COM objects.

    I think you should be able to just change or remove the version number. Try it!

    Richard
    Winwaed Software Technology LLC
    http://www.winwaed.com
    See http://www.mapping-tools.com for MapPoint Tools

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

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Upgrades
    By Dstewart in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 05-15-2003, 02:20 PM
  2. Where can I get information or program upgrades to....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 09-11-2001, 04:00 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