COM/interop style problem - please help :-(

  • Thread starter Thread starter Simon Harvey
  • Start date Start date
S

Simon Harvey

Hi guys,

I'd be really greatful if any COM/interop gurus could help me with the
following issue.

We have a .net application that uses the MapPoint 13 COM control to
display maps within our application. The problem that I'm having is that
although the application does work when I run the application within
Visual Studio by pressing F5, if I got to actual Release folder and
double click the exe it gives an error saying "Mappoint Failed to load.
The cause of this failiure is unknown."

If I copy the Release folder to another machine and double click the exe
there the application runs fine suggesting that something is buggered
with the environment on the original machine. My current working theory
is that it's something to do with COM registry settings on the two
machines but I have no idea whatsoever on how to either diagnose the
issue further or just repair the damage whatever it is.

Can anyone help me with this? I'd be really interested to know how it
could work within Visual Studio but not by double clicking the exe.

Huge thanks to anyone who can advise

Best Regards

Simon
 
Quite. I agree - it does sound like a configuration problem.

The error is pretty generic. Have you tried catching the exception, and
reporting all the info? (eg. feeding it into Google)





Richard

--

Richard Marsden
Winwaed Software Technology LLC
http://www.winwaed.com
Tools and Add-ins for MapPoint - http://www.mapping-tools.com
 
Back
Top