MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




MP2002 and 2004 installed on same machine problem

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 ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-28-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
MP2002 and 2004 installed on same machine problem

I posted this on the newsgroup but got no replies so if anyone has
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 05-28-2004
Winwaed's Avatar
Mapping-Tools.com
Red Belt
 
Join Date: Feb 2004
Posts: 893
Blog Entries: 10
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 06-01-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
2002 and 2004 on sam machine

Thanks for that but if i try

MapPoint.Application.EU.9

it is unable to use this and get error message
same for .EU.11

Any other thoughts... anyone?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 06-01-2004
Winwaed's Avatar
Mapping-Tools.com
Red Belt
 
Join Date: Feb 2004
Posts: 893
Blog Entries: 10
"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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 06-01-2004
Winwaed's Avatar
Mapping-Tools.com
Red Belt
 
Join Date: Feb 2004
Posts: 893
Blog Entries: 10
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 06-07-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
2002/2004 bug

Thanks.
I'm glad that someone else has a similar problem.
does anyone know where we go from here in
recitfying the problem?
microsoft?

Shaun
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7 (permalink)  
Old 06-09-2004
techecho's Avatar
Junior Member
White Belt
 
Join Date: May 2004
Posts: 7
name each version then API

are there different ocx files for the two versions
and are both loaded in app

OR is run required program be direct call
c:\program\mp.exe acceptable

crud but rud is my way
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8 (permalink)  
Old 06-10-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9 (permalink)  
Old 06-11-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10 (permalink)  
Old 09-10-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
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}'
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
2004, installed, machine, mp2002, problem


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -5. The time now is 06:09 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map


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