3 messages in net.java.dev.jna.usersRe: [jna-users] Can the JNA api be us...
FromSent OnAttachments
Charles W. WaweruJun 25, 2007 7:27 am 
Timothy WallJun 25, 2007 8:29 am 
Wayne MeissnerJun 25, 2007 8:50 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [jna-users] Can the JNA api be used to access .NET librariesActions...
From:Timothy Wall (twal@dev.java.net)
Date:Jun 25, 2007 8:29:08 am
List:net.java.dev.jna.users

On Jun 25, 2007, at 10:28 AM, Charles W. Waweru wrote:

Hello,

I am working on a project that involves working with java and .NET libraries.

Can JNA be used to allow my java classes to access native .NET libraries.

I doubt it, unless you wrap the functionality in C-accessible functions exported from a DLL. .NET uses a runtime similar to the JVM, so you'd have to launch that before you could use any .NET stuff.

You could probably make something that does, but it's likely to be non-trivial. I think there's at least one commercial offering (JBridge or something with "bridge" in the name) that provides calling from Java <-->.NET, so you might take a look at how they do it to see what would be involved to support such a thing.

T.