7 messages in net.java.dev.jna.usersRe: [jna-users] JNA and Windows mobile
FromSent OnAttachments
Carlos MacLeodSep 25, 2007 9:23 am 
Timothy WallSep 25, 2007 11:10 am 
Timothy WallSep 25, 2007 11:11 am 
Carlos MacLeodSep 25, 2007 12:02 pm 
Carlos MacLeodSep 25, 2007 12:03 pm 
Carlos MacLeodSep 28, 2007 2:04 pm 
Timothy WallSep 28, 2007 2:25 pm 
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] JNA and Windows mobileActions...
From:Carlos MacLeod (carl@gmail.com)
Date:Sep 25, 2007 12:02:39 pm
List:net.java.dev.jna.users

It is a ninja's work. I think i am not able to do such thing ( but i will try ). I would like so much to help the project, but i will take so much time learning JNI, and remembering the old times of C ( the reason why JNA was my first choice ).

First i will try your 2nd suggestion ( the another post ). If it can solve my problem, i will be free for engage in the ninja's job.

;-)

-- Regards, Carlos MacLeod

"Java is like violence: if it doesn't solve your problem, you aren't using enough of it"

2007/9/25, Timothy Wall <twal@dev.java.net>:

The library should work just fine without Buffer support, you'll just have to do a little editing to remove references to them, both in the Java code and in the native code.

Java arrays may be passed to the native layer; Buffers provide equivalent functionality.

If you figure out a way to cleanly separate things to work with 1.3 compliance, I'd be happy to incorporate it into the main codebase. You might be able to do so simply by wrapping any Buffer references with a check for Buffer availability.

On Sep 25, 2007, at 12:24 PM, Carlos MacLeod wrote:

Hi guys,

I am trying to use JNA with Windows mobile. The first thing i did was compile with 1.3 compliance, since it is the compliance for my JVM ( CreME ). The 2nd problem is the java.nio classes (Buffer and ByteBuffer), since the CDC java.nio does not implements this classes.

What is the best alternative with java.io for this classes ?

I apologize, my english is poor.

"Java is like violence: if it doesn't solve your problem, you aren't using enough of it"