BingMap中如何accessed by scripting code
当我在我的WPF应用中加入WEBBRAOWSER然后放入了BINGMAP以后,我用了WebBrowser1.ObjectForScripting = Me来接受SCRIPT,可是却出现了下面的问题。。。请问该怎么解决呢???
A QueryInterface call was made requesting the default IDispatch interface of COM visible managed class 'Soil_Proj.WindowFarmSize'. However since this class does not have an explicit default interface and derives from non COM visible class 'System.Windows.Window', the QueryInterface call will fail. This is done to prevent the non COM visible base class from being constrained by the COM versioning rules.