thientung / winforms-geplugin-control-library

Automatically exported from code.google.com/p/winforms-geplugin-control-library
GNU General Public License v3.0
0 stars 0 forks source link

PluginReady event not firing on Windows7 #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The GEWebBrowser PluginReady event doesn't seem to fire for me on Windows7.
Using the latest GEPluginCtrls and lasted TTGEPlugin, the event ever fires 
after calling LoadEmbededPlugin()..

Original issue reported on code.google.com by jlama...@gmail.com on 30 Mar 2010 at 1:16

GoogleCodeExporter commented 9 years ago
I haven't yet tested the controls on Windows7 at all so I am unsure what the 
issue is. 
Do you receive any other error or message? I will try and get a test machine up 
so I 
can investigate.

Original comment by fraser.c...@gmail.com on 24 Apr 2010 at 3:31

GoogleCodeExporter commented 9 years ago
In the class GEWebBrowser() at the method External_PluginReady the program 
crashes at the line :

e.Data = this.geplugin.getApiVersion();

With the error:
A first chance exception of type 'System.AccessViolationException' occurred in 
FC.GEPluginCtrls.dll

Win7, 64bit crashes, 32bit is fine.

As an aside, the plugin does not appear to expose either 
.getView().getViewPortGlobeBounds() or 
.getView().hitTest() methods under 64bit. Very odd and annoying.

Original comment by PCT.Tech...@gmail.com on 30 May 2010 at 5:23

GoogleCodeExporter commented 9 years ago
I am beginning to think that Win7 64bit is simply incompatible with with the 
plugin_ax.dll file.

Here is what I get when I run the deprecated buildInterop.bat conversion

==

Author: Fraser Chapman
Email: fraser.chapman@gmail.com
Url: http://code.google.com/p/winforms-geplugin-control-library
*** Interop.GEPlugin.dll make file. ***
*** fraser.chapman@gmail.com ***
Microsoft (R) .NET Framework Type Library to Assembly Converter 3.5.21022.8
Copyright (C) Microsoft Corporation.  All rights reserved.

Resolved referenced file 'C:\Program Files (x86)\Google\Google Earth\plugin\ie\5
.2.0.5932\plugin_ax.dll' to file 'C:\Program Files (x86)\Google\Google Earth\plu
gin\ie\5.2.0.5932\plugin_ax.dll'.
Type 'IGEPlugin_Events' imported.
Type 'IGEEventEmitter' imported.
Type 'IGESchemaObject' imported.
Type 'IKmlObjectBase' imported.
Type 'IKmlMouseEvent' imported.
Type 'IKmlEvent' imported.
Type 'IGEView' imported.
Type 'IKmlVec2' imported.
Type 'IKmlObjectPartial' imported.
Type 'IKmlLookAt' imported.
Type 'IKmlAbstractView' imported.
Type 'IKmlObject' imported.
Type 'IKmlDocument' imported.
Type 'IKmlContainer' imported.
Type 'IKmlFeature' imported.
Type 'IKmlStyleSelector' imported.
Type 'IKmlRegion' imported.
Type 'IKmlLatLonAltBox' imported.
Type 'IKmlLatLonBox' imported.
Type 'IKmlLod' imported.
Type 'IKmlStyle' imported.
Type 'IKmlIconStyle' imported.
Type 'IKmlColorStyle' imported.
Type 'IKmlColor' imported.
Type 'IKmlIcon' imported.
Type 'IKmlLink' imported.
Type 'IKmlLabelStyle' imported.
Type 'IKmlLineStyle' imported.
Type 'IKmlListStyle' imported.
Type 'IKmlPolyStyle' imported.
Type 'IKmlBalloonStyle' imported.
Type 'IKmlObjectList' imported.
Type 'IGEFeatureContainer' imported.
Type 'IGESchemaObjectContainer' imported.
Type 'IKmlCamera' imported.
Type 'IGEHitTestResult' imported.
Type 'IGEFetchKmlHelper_' imported.
Type 'IGECallbackHelper_' imported.
Type 'IGEExecuteBatch_' imported.
Type 'IGESideDatabaseHelper_' imported.
Type 'IGEPlugin' imported.
Type 'IKmlPlacemark' imported.
Type 'IKmlGeometry' imported.
Type 'IKmlPoint' imported.
Type 'IKmlExtrudableGeometry' imported.
Type 'IKmlAltitudeGeometry' imported.
Type 'IKmlLineString' imported.
Type 'IKmlCoordArray' imported.
Type 'IKmlCoord' imported.
Type 'IKmlFolder' imported.
Type 'IKmlLocation' imported.
Type 'IKmlOrientation' imported.
Type 'IKmlScale' imported.
Type 'IKmlModel' imported.
Type 'IKmlLinearRing' imported.
Type 'IKmlPolygon' imported.
Type 'IGELinearRingContainer' imported.
Type 'IKmlGroundOverlay' imported.
Type 'IKmlOverlay' imported.
Type 'IKmlNetworkLink' imported.
Type 'IKmlScreenOverlay' imported.
Type 'IKmlMultiGeometry' imported.
Type 'IGEGeometryContainer' imported.
Type 'IKmlStyleMap' imported.
Type 'IGEBoundingBoxView_' imported.
Type 'IGEFeatureView_' imported.
Type 'IGETourView_' imported.
Type 'IGEPhotoOverlayView_' imported.
Type 'IKmlTour' imported.
Type 'IKmlPhotoOverlay' imported.
Type 'IGEFeatureBalloon' imported.
Type 'IGEAbstractBalloon' imported.
Type 'IGEHtmlStringBalloon' imported.
Type 'IGEHtmlBalloon' imported.
Type 'IGEHtmlDivBalloon' imported.
Type 'IGEModeler_' imported.
Type 'IGEOptions' imported.
Type 'IGEWindow' imported.
Type 'IGEEventSimulator_' imported.
Type 'IGEGlobe' imported.
Type 'IGESun' imported.
Type 'IKmlLayerRoot' imported.
Type 'IGENavigationControl' imported.
Type 'IGEPhotoControl' imported.
Type 'IGETourPlayer' imported.
Type 'IGEPhotoOverlayViewer' imported.
Type 'IGEBalloonState_' imported.
Type 'IKmlBalloonOpeningEvent' imported.
Type 'GEAbstractBalloonCoClass' imported.
Type 'GEFeatureBalloonCoClass' imported.
Type 'GEHtmlBalloonCoClass' imported.
Type 'GEHtmlDivBalloonCoClass' imported.
Type 'GEHtmlStringBalloonCoClass' imported.
Type 'GESchemaObjectContainerCoClass' imported.
Type 'GEFeatureContainerCoClass' imported.
Type 'GEStyleSelectorContainerCoClass' imported.
Type 'IGEStyleSelectorContainer' imported.
Type 'GELinearRingContainerCoClass' imported.
Type 'KmlObjectListCoClass' imported.
Type 'KmlContainerCoClass' imported.
Type 'KmlFolderCoClass' imported.
Type 'KmlDocumentCoClass' imported.
Type 'GEEventSimulator_CoClass' imported.
Type 'KmlBalloonOpeningEventCoClass' imported.
Type 'KmlEventCoClass' imported.
Type 'KmlMouseEventCoClass' imported.
Type 'KmlFeatureCoClass' imported.
Type 'KmlPlacemarkCoClass' imported.
Type 'KmlCoordCoClass' imported.
Type 'KmlGeometryCoClass' imported.
Type 'KmlExtrudableGeometryCoClass' imported.
Type 'KmlLineStringCoClass' imported.
Type 'KmlLinearRingCoClass' imported.
Type 'KmlPointCoClass' imported.
Type 'KmlLodCoClass' imported.
Type 'KmlLatLonBoxCoClass' imported.
Type 'KmlLatLonAltBoxCoClass' imported.
Type 'KmlRegionCoClass' imported.
Type 'KmlLocationCoClass' imported.
Type 'KmlOrientationCoClass' imported.
Type 'KmlScaleCoClass' imported.
Type 'KmlModelCoClass' imported.
Type 'KmlCoordArrayCoClass' imported.
Type 'KmlPolygonCoClass' imported.
Type 'GEGeometryContainerCoClass' imported.
Type 'KmlMultiGeometryCoClass' imported.
Type 'GEHitTestResultCoClass' imported.
Type 'KmlLayerRootCoClass' imported.
Type 'KmlLayerCoClass' imported.
Type 'IKmlLayer' imported.
Type 'KmlLinkCoClass' imported.
Type 'KmlIconCoClass' imported.
Type 'KmlNetworkLinkCoClass' imported.
Type 'GEBoundingBoxView_CoClass' imported.
Type 'GEFeatureView_CoClass' imported.
Type 'GEPhotoOverlayView_CoClass' imported.
Type 'GEPhotoOverlayViewerCoClass' imported.
Type 'GETourPlayerCoClass' imported.
Type 'GETourView_CoClass' imported.
Type 'GEViewCoClass' imported.
Type 'KmlAbstractViewCoClass' imported.
Type 'KmlCameraCoClass' imported.
Type 'KmlLookAtCoClass' imported.
Type 'KmlPhotoOverlayCoClass' imported.
Type 'KmlTourCoClass' imported.
Type 'KmlVec2Wrapper_CoClass' imported.
Type 'IKmlVec2Wrapper_' imported.
Type 'GEModeler_CoClass' imported.
Type 'KmlObjectBaseCoClass' imported.
Type 'GEEventEmitterCoClass' imported.
Type 'GESchemaObjectCoClass' imported.
Type 'KmlObjectCoClass' imported.
Type 'GEOptionsCoClass' imported.
Type 'GENavigationControlCoClass' imported.
Type 'GEPhotoControlCoClass' imported.
Type 'KmlOverlayCoClass' imported.
Type 'KmlGroundOverlayCoClass' imported.
Type 'KmlScreenOverlayCoClass' imported.
Type 'GEBalloonState_CoClass' imported.
Type 'GEExecuteBatch_CoClass' imported.
Type 'GEFetchKmlHelper_CoClass' imported.
Type 'GEGlobeCoClass' imported.
Type 'GEPluginCoClass' imported.
Type 'GESideDatabaseHelper_CoClass' imported.
Type 'KmlColorCoClass' imported.
Type 'KmlStyleCoClass' imported.
Type 'KmlStyleSelectorCoClass' imported.
Type 'KmlPolyStyleCoClass' imported.
Type 'KmlListStyleCoClass' imported.
Type 'KmlLineStyleCoClass' imported.
Type 'KmlIconStyleCoClass' imported.
Type 'KmlLabelStyleCoClass' imported.
Type 'KmlBalloonStyleCoClass' imported.
Type 'KmlColorStyleCoClass' imported.
Type 'KmlStyleMapCoClass' imported.
Type 'GESunCoClass' imported.
Type 'KmlVec2CoClass' imported.
Type 'GEWindowCoClass' imported.
TlbImp : error TI0000 : System.IO.IOException - Access is denied. (Exception fro
m HRESULT: 0x80070005 (E_ACCESSDENIED))
Finished!

Original comment by PCT.Tech...@gmail.com on 30 May 2010 at 12:49

GoogleCodeExporter commented 9 years ago
OK. After having downloaded and rebuilt the latest source code I am now 
successfully 
running under 64bit Win7. I'm confused by what I have seen, but can't argue 
with the 
current result...

Original comment by PCT.Tech...@gmail.com on 30 May 2010 at 1:43

GoogleCodeExporter commented 9 years ago
Hi, I have reset the build options to support any cpu so hopefully the issues 
should be 
resolved. Thanks.

Original comment by fraser.c...@gmail.com on 2 Jun 2010 at 8:50