MP2006 backward compatibility

Wilfried
09-07-2006, 01:05 PM
Hi,

I installed MP2006 EU on my development machine. I did not uninstalled MP2004 at the moment. Removed the ActiveX and add the version 13 in IDE, add again to forms and assigned the events. All runs fine except:

When I run the compiled program on a machine where only MP2004 is installed I get exception errors on XYToLocation method.

Anyonye tryed MP2006 compiled apllications on a machine where only MP2004 is installed ? (EU ?)

Wilfried
09-08-2006, 03:10 AM
Hi,

The probably only solution is to register the old ocx again. So dont uninstall 2004 on develop machine if you need backward compatibility. Before recompiling an application that has to run on the 2004 you register the old server by going to the mappoint 2004 folder and type there: mappoint.exe /registerserver

Thanks to Gilles who gaved me that hint.

This was in C#. I wonder if it is also the case for VB ? Also if you use the object model and dont change the type library then backward compatibiliy will stay without a problem I guess.

 
Web mp2kmag.com
mapforums.com