A friend of mine has embedded a google earth plugin into a C# user control. All works fine but when you close the window we recieve and ‘Unspecified Error’ with the option to continue running the scripts or not. From our tracking it down it appears this is being cause by a script that google is dropping onto the page. Any ideas?
Share
Here is an example, by me, of c#/Google Earth API integration that covers the problem you are having (see the comments) http://fraserchapman.blogspot.com/2008/08/google-earth-plug-in-and-c.html
Also, here is another of my projects that uses COM Google Earth Plugin Type Library (plugin_ax.dll) converted into the equivalent definitions in a common language run time assembly. It may be of some use. http://fraserchapman.blogspot.com/2008/12/google-earth-plugin-control-library.html