[gme-users] x64 vs x68

Kevin Smyth ksmyth at isis.vanderbilt.edu
Fri May 18 16:35:49 CDT 2012


Hi Jennifer,

32bit components register in GME x86, and 64bit components register in
GME x64. To compile a C++ component as x64, you'll need to add a "x64"
platform to your solution. MS has some documentation on how to do this
if you're unfamiliar:
http://msdn.microsoft.com/en-us/library/9yb4317s.aspx 

We chose not to call x86 components from x64 GME by default, since the
marshaling involved in the COM interop can be slow, and some calls are
not properly marshaled. It also complicates debugging. If you have a
need to do so, I suggest you write a small x64 interpreter that creates
and delegates to your x86 interpreter.

To register a C# interpreter in x64 GME, add the following as a
post-build event:
if exist %windir%\sysnative\reg.exe (%windir%\sysnative\reg.exe query
HKLM\Software\Classes\CLSID\{F1D6BB06-42EE-11D4-B3F4-005004D38590} 2>NUL
>NUL && %windir%\Microsoft.NET\Framework64\v4.0.30319\RegAsm.exe
/codebase "$(TargetPath)" || exit /b 0 )

Kevin

-----Original Message-----
From: gme-users-bounces at list.isis.vanderbilt.edu
[mailto:gme-users-bounces at list.isis.vanderbilt.edu] On Behalf Of
Jennifer Coston
Sent: Friday, May 18, 2012 2:31 PM
To: gme-users
Subject: [gme-users] x64 vs x68

Hey All,

I am just learning GME, but I have discovered through trial and error
that I can only register components in the x86 version. Does anyone know
if there is a trick to do this with the x64 version?

Jennifer
_______________________________________________
gme-users mailing list
gme-users at list.isis.vanderbilt.edu
http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users


More information about the gme-users mailing list