x64

View: New views
2 Messages — Rating Filter:   Alert me  

x64

by rych-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi
Is there a 64-bit build for Windows and Linux? I need that to be able
to call into a legacy 64-bit libraries. By the way, do I call it with
PInvoke on both .NET and Mono, or is there something like ctypes?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Boo Programming Language" group.
To post to this group, send email to boolang@...
To unsubscribe from this group, send email to boolang-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/boolang
-~----------~----~----~----~------~----~------~--~---


Re: x64

by Marcus Griep-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

.NET binaries are what are called, ANY processor typed.  They will run on any processor that has the .NET framework installed.  To be sure that you are able to link into 64-bit binaries, you'll want to make sure that you are using the 64-bit version of the .NET framework as the 32-bit version won't be able to interop with 64-bit binaries.
 
In both .NET and Mono, you use P/Invoke as long as you can provide the external binary on Linux (and Windows if it's not a common library).  There is a program to assist with P/Invoke declarations that was recently released by the Microsoft CLR interop team.  You can find it on CodePlex here: http://www.codeplex.com/clrinterop
 
Hopefully that answers your question.

Marcus Griep
——
את.ψο´

On Thu, Jun 26, 2008 at 5:01 AM, rych <rychphd@...> wrote:

Hi
Is there a 64-bit build for Windows and Linux? I need that to be able
to call into a legacy 64-bit libraries. By the way, do I call it with
PInvoke on both .NET and Mono, or is there something like ctypes?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Boo Programming Language" group.
To post to this group, send email to boolang@...
To unsubscribe from this group, send email to boolang-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/boolang
-~----------~----~----~----~------~----~------~--~---

LightInTheBox - Buy quality products at wholesale price!