windrobin / winforms-geplugin-control-library

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

Fail to load the GE Plugin on Windows XP x64 #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Downloaded FC.GEPluginCtrls_3.zip
2. Run WindowsFormsApplication1.exe
3.

What is the expected output? What do you see instead?
The GE plugin is not loaded. Instead, I get the following error message:
"FC.GEPluginCtrls \n Plugin failed to load".

What version of the product are you using? On what operating system?
GE version: 5.0.11337.1968 (beta)
GE Plugin version: 1.2.141.5 (same file version as GE)
OS: Microsoft Windows XP x64

Please provide any additional information below.
From what I could see, the crash happens within the 
'google.earth.createInstance("map3d", initCallback, failureCallback)'
javascript call, within the init() function.

Original issue reported on code.google.com by haiduc.dragos@gmail.com on 17 Feb 2009 at 10:11

Attachments:

GoogleCodeExporter commented 9 years ago
Hi,

Please download the new package FC.GEPluginCtrls_4.zip.

I have changed the configuration platform to target x86 rather than AnyCpu. The 
issue 
is that DLLs compiled with the /platform:anycpu will execute on the same CLR as 
the 
process into which it is being loaded. Because the plug-in DLL is 32bit this 
causes 
errors. Hopefully swapping the target platform should work as assemblies 
compiled 
with /platform:x86 will execute on the 32 bit CLR running under WOW64. 

You can see the changes in the csproj file:
http://code.google.com/p/winforms-geplugin-control-
library/source/browse/trunk/FC.GEPluginCtrls.csproj

Unfortunately I don't have a 64bit platform to test this on so any feedback 
would be gratefully received.

Regards,

Fraser

Original comment by fraser.c...@gmail.com on 3 Mar 2009 at 11:10

GoogleCodeExporter commented 9 years ago
Hi Fraser,

At this very moment I am not near the X64 box, but I will reply as soon as I 
test.
Thank you for the answer.

Dragos

Original comment by haiduc.dragos@gmail.com on 4 Mar 2009 at 8:19

GoogleCodeExporter commented 9 years ago
Hi again,

Good news, this did the trick, thanks again.
I did not know the interop plugin was 32bit, otherwise I could have tried that 
myself.

Dragos

Original comment by haiduc.dragos@gmail.com on 8 Mar 2009 at 9:46

GoogleCodeExporter commented 9 years ago
Good stuff, thanks for letting me know.

Original comment by fraser.c...@gmail.com on 8 Mar 2009 at 10:22