Search the web
Sign In
New User? Sign Up
jnative-l · Java Native Interface (JNI)
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.

Messages

  Messages Help
Advanced
Messages 1 - 30 of 362   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
1
Future messages to the jnative-l mailing list will be archived at this URL: http://www.findmail.com/listsaver/jnative-l/ -Sean your friendly jnative-l admin...
Sean C Sullivan
sullis@...
Send Email
Feb 23, 1998
2:44 am
2
Dear Java Native List reader, I'm quite new to Java, and very new to using JNI. I would like to be able to pass the value of a C/C++ pointer back to Java and...
Paul M Bandler
Paul.Bandler@...
Send Email
Feb 23, 1998
7:26 pm
3
I do this all the time. It works fine. I store C++ object pointers as an 'int' in my Java class. Passit back via native methods and cast it back to a c==...
Jordan Bigel
jordanb@...
Send Email
Feb 23, 1998
7:38 pm
4
... This mailing list has been in existence since May (?) 1997. The jnative-l message archive is brand new: http://www.findmail.com/listsaver/jnative-l/ -Sean ...
Sean C Sullivan
sullis@...
Send Email
Feb 23, 1998
7:38 pm
5
... THis should work fine, although the specific details of how you're doing it may be in error. Post the code. The jlong as a double is a hack because the...
Joseph Millar
joe@...
Send Email
Feb 23, 1998
8:03 pm
6
Yes, when I changed it from longs to ints (on both sides of course) it all worked fine. I had chosen a long in anticipation of 64bit architectures where I...
Paul M Bandler
Paul.Bandler@...
Send Email
Feb 23, 1998
10:28 pm
7
... Thanks for your reply. I have just gotten thru' modifying it to use int's so don't have it to hand anymore. I wasn't doing _any_ manipulation and the code...
Paul M Bandler
Paul.Bandler@...
Send Email
Feb 23, 1998
10:30 pm
8
... Sounds like converting to the "jlong" in Borland C++, where the conversion is done via a double, somehow causes the number to go through the floating point...
Bill Wilkinson
billw@...
Send Email
Feb 23, 1998
10:54 pm
9
... Then Borland is likely doing something to the pointer, probably based on the fact that it knows it's a double. I know this behavior on VC++ v4.2 works just...
Joseph Millar
joe@...
Send Email
Feb 25, 1998
10:39 am
10
According to Adisson Wesley's web site, there will be another book about JNI: http://www2.awl.com/cseng/javaseries/ Java Native Interface: Programming Guide...
Sean C Sullivan
sullis@...
Send Email
Feb 25, 1998
11:54 pm
11
http://java.sun.com/javaone/javaone98/tracks.html#4jnij Java Native Interface (JNI) Technology Programming Speakers: Sheng Liang, Staff Engineer, Sun...
Sean C Sullivan
sullis@...
Send Email
Feb 26, 1998
12:16 am
12
Hello Paul, ... Yes, on a Dec Alpha (OSF, 64 bit) I really had to use a long. Bit 33 was set to 1 and was indeed missing when dereferencing the pointer (took...
Michael Pichler
mpichler@...
Send Email
Mar 4, 1998
6:08 pm
13
JDK 1.1.5 on linux, SPARC Solaris 2.5, and Win32. If possible I would like to "warm start" a VM, by loading the class files into it, before actually using it. ...
Steinar Bang
sb@...
Send Email
Mar 11, 1998
3:14 pm
14
Dear Helpful People, Some weeks ago I asked about how to used gdb on the C code called through JNI (the Java Native Interface) on a Solaris system. I got a...
Michael J. Scudder
scudder@...
Send Email
Mar 11, 1998
3:27 pm
15
Dear Steinar, You can 'warm start' a Java VM from C by finding the classes you want to load before calling the main Java method; at least this seems to work...
Michael J. Scudder
scudder@...
Send Email
Mar 11, 1998
3:38 pm
16
Excerpts from jnative-l: 11-Mar-98 Re: [JNATIVE-L] Warmstartin.. "Michael J. Scudder"@acs (761*) ... vm_args field to the appropriate directory. Once you have...
Blair Wyman
wyman@...
Send Email
Mar 11, 1998
5:52 pm
17
The Java Tutorial explains how to access arrays passed into a native method. I am trying to access a byte array returned from a Java method which has been...
Mike Patterson
Mike.Patterson.mpatte...
Send Email
Mar 11, 1998
8:48 pm
18
Is anyone on this list using RNI (for MSIE 4.x)? We have a project ongoing which needs to work with as many VMs/OSes as possible. To that end I have ...
Jordan Bigel
jordanb@...
Send Email
Mar 11, 1998
8:58 pm
19
I am trying to call back into Java from C++. The method looks like this: public AuthCallbackArgs getAuthentication(int mode) { // body deleted for brevity } ...
Jordan Bigel
jordanb@...
Send Email
Mar 11, 1998
10:24 pm
20
Excerpts from jnative-l: 11-Mar-98 [JNATIVE-L] Accessing byte .. Mike Patterson@... (1582*) The code sure looks reasonable, though using...
Blair Wyman
wyman@...
Send Email
Mar 11, 1998
10:27 pm
21
Forwarding... ... Subject: Re: [JNATIVE-L] RNI anyone? To: jnative-l@... Date: Wed, 11 Mar 1998 23:00:29 +0000 (GMT) In-Reply-To:...
Sean C Sullivan
sullis@...
Send Email
Mar 11, 1998
11:08 pm
22
Here is MY silly mistake: m_jniEnv->CallObjectMethod(m_viewerPeer, methodID, lOffset, lLength); should have been: m_jniEnv->CallObjectMethod(m_viewerPeer,...
Mike Patterson
Mike.Patterson.mpatte...
Send Email
Mar 12, 1998
2:13 pm
23
Ok, I found the problem. Thanks to all of you who tried to help (BillW) via EMail. However, I do want to add that I recv'd no help from any Microsoft ...
Jordan Bigel
jordanb@...
Send Email
Mar 12, 1998
7:45 pm
24
I've seen several postings about accessing data from a byte array, but I haven't actually seen how you put data into a byte array. //This is for a mac so I can...
Rudd, Justin
jrudd@...
Send Email
Mar 13, 1998
4:59 pm
25
// presuming there's a pData->data, just cast its address to jbyte* env->SetByteArrayRegion(javaResArray,0,pData->length,(jbyte*) &pData->data); if...
Blair Wyman
wyman@...
Send Email
Mar 13, 1998
7:48 pm
26
The following 2 code fragments are work identically on a Macintosh ( this is the C Code implementation of my native method ). All Macintosh strings are pascal...
Rudd, Justin
jrudd@...
Send Email
Mar 15, 1998
4:15 pm
27
Excerpts from jnative-l: 15-Mar-98 [JNATIVE-L] Strings with JNI "Rudd, Justin"@trsystems (1462*) I bet that GetStringUTFChars isn't null-terminating the string...
Blair Wyman
wyman@...
Send Email
Mar 16, 1998
3:37 pm
28
This may be a real beginner problem, but I have a native call which is defined inside a shared library. Inside this shared library there is a call to a...
CHRISTOPHER PASSARETTI
christopher.passarett...
Send Email
Mar 16, 1998
3:54 pm
29
At 11:13 AM 3/15/98 -0500, Justin Rudd wrote: [ .. ] ... Have you tried using DebugStr() to break into MacsBug so you can examine the string? Maybe a...
Chris Kelly
samizdat@...
Send Email
Mar 16, 1998
6:59 pm
30
You do not need to load both libraries, only the one which contains your native method. If you determine that your native method is failing when attempting to...
Mike Patterson
Mike.Patterson.mpatte...
Send Email
Mar 17, 1998
5:03 am
Messages 1 - 30 of 362   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2007 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help