View Single Post

  #4 (permalink)  
Old 09-23-2006
Wilfried Wilfried is offline
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,112
Hi,

Unfortionally yes The problem is the Location object, it is different in MP2006, so accessing it will generate an access violation.

I just did an extra test to be sure. First registered MP2004 ocx, rebuild program, then registered MP2006 and start outside debugger (to be sure no recompile). The momen you want to do something with eg a returned Location object there was an AV.

So you really have to install MP2006 also on your develop machine. I register them with 2 batch files that also copy a file with a static class to a common folder where the development sourses are, so that it is al automated.

If you need more detail on how I did it then please say so. There are probably many approach but found this the most easy
Reply With Quote