Community of VE/MapPoint Users and Developers
This is a discussion on MP2002 and 2004 installed on same machine problem within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I posted this on the newsgroup but got no replies so if anyone has ANY thought i would much appreciate ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| MP2002 and 2004 installed on same machine problem ANY thought i would much appreciate them: Since installing MP2004 on a machine that only ever had MP2002 on it I have a problem. (did not replace 2002 but installed in different directory so now have both versions on machine) // related info // I am writing an application that uses mappoint as an ole object using the vb programming tools writing in borland c++ builder eg. OleContainer1->CreateObject(data->mappointVersion,False); // the problem // When i tell it to launch the 2002 version using "Mappoint.Map.EU.9" as the mappointVersion (as opposed to EU.11 for 2004) it ALWAYS loads up mappoint 2004 without fail and cant get it to load 2002 unless I open it on its own through the start menu. Why is this please? ...... it is causing me a LOT of trouble and time Many thanks Shaun |
| ||||
|
When I've created COM objects (via C++), the COM object name for the application is of the form: "MapPoint.Application.EU.9" 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 |
| ||||
|
"MapPoint.Application.NA.11" is the example given in the help that comes with MapPoint. (and EU for European version). So I suspect the problem is with the C++ Builder environment. I've never used it before, but I think you have to 'import' the COM classes somehow?? 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 |
| ||||
|
Strange thing is I'm now having the same problem! MSVC (but WTL rather than MFC). Creating objects with names like "MapPoint.Application.NA.11" works without error, but "MapPoint.Application.NA.9" loads v11 (ie. 2004). I think we have a bug here! Incidentally, I also have EU.9 and that loads okay - but I don't have EU.11 installed. I'm actually working on code to allow a user to select which version my app calls. I think I'm going to amend my code so it only lets the user select the latest&greatest that is available for each geographic region. Another strange one, not programmatic this time: If you have 2004 Help open, and then try to open the Help in v2002, it just gives you the 2004 window. Closing 2004, and retrying gives you the correct version. 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 |
| |||
| 2002 and 2004 installed on same machine
>are there different ocx files for the two versions >and are both loaded in app Yes. the ocx files are different not sure what you mean about them being both loaded in app? OR is run required program be direct call c:\program\mp.exe acceptable If you are asking if i can use a commandline style command to run up mappoint then this unfortunatley is not an option it needs to be embedded in the application Thanks. S. |
| |||
| 2002 and 2004 installed on same machine
Recap: mp running in app as embedded ole object but will only run 2004 even if tell it to run 2002 when both are installed on same machine. If i re-install 2002 then it will only run 2002 and then if i re-install 2004 it will only run 2004!! so what central reference is it changing in the registry!? why cant i tell it which version to use and it use that version!!!???? Anyone? |
| |||
|
I think the big problem is, that the two different OCX with Mappoint 2002 and 2004 are using identical registry keys for their controls ! So itīs no problem to run the two different exe-files, but using the ocx, you can only use the last installed version ! MapControl 9.0 and 11.0 have the same keys. example from my app : IID_MapPoint2004_IMappointCtrl = '{65DEDD2D-938D-4083-80B5-9491B073B7AE}' IID_MapPoint2002_IMappointCtrl = '{65DEDD2D-938D-4083-80B5-9491B073B7AE}' IID_MapPoint2002__MapPointUtilities = '{33A1C7CE-9E37-4A11-8213-0413A20C66BA}' IID_MapPoint2004__MapPointUtilities = '{33A1C7CE-9E37-4A11-8213-0413A20C66BA}' |
![]() |
| Tags |
| 2004, installed, machine, mp2002, problem |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Have a problem with 2004. | PC7395 | MapPoint 2006/2009 Discussion | 2 | 05-11-2006 08:16 PM |
| MapPoint 2004 must be installed | Hollywod07 | MapPoint 2006/2009 Discussion | 1 | 04-03-2006 07:32 PM |
| Mappoint 2004 Line thickness problem ? | Danny | MapPoint 2006/2009 Discussion | 1 | 05-30-2005 01:27 PM |
| Mappoint 2004 USA installation problem | Anonymous | MapPoint 2006/2009 Discussion | 3 | 04-11-2005 10:55 AM |
| MAPPOINT 2004 WON'T LOAD ON 98 MACHINE | Anonymous | MapPoint 2006/2009 Discussion | 3 | 11-18-2003 01:50 PM |