Community of VE/MapPoint Users and Developers
This is a discussion on OCX and mappoint upgrades within the MapPoint 2006/2009 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 ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| OCX and mappoint upgrades 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 ?
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| ||||
|
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 Pre-Order MapPoint 2009 today: http://www.mapping-tools.com/mappoint2009 |
| |||
|
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 ?
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| ||||
|
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 Pre-Order MapPoint 2009 today: http://www.mapping-tools.com/mappoint2009 |
| |||
|
Hi Richard, Understood
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
![]() |
| Tags |
| mappoint, ocx, upgrades |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Upgrades | Dstewart | MapPoint 2006/2009 Discussion | 1 | 05-15-2003 02:20 PM |
| Where can I get information or program upgrades to.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 09-11-2001 04:00 PM |