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...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.

Messages

  Messages Help
Advanced
Messages 238 - 267 of 362   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
238
Hi there, If you create native window within Java thread, Java's message loop will be blocked by message loop of JNI DLL if no Java window exists. If Java has ...
managment -alec
alec@...
Send Email
Nov 1, 1998
11:20 am
239
This is turning into a habit... Due to a lack of real resources at Arcane for running the jnative-l mailing list, I'm looking for someone who can take over the...
descarte@...
Send Email
Nov 8, 1998
10:46 pm
240
Hey All, Does anyone know if there is a way to integrate a DLL with a Java Application if you don't have the DLL source code? I apoligize for asking such a...
Scott Bromstead
sbromstead@...
Send Email
Nov 10, 1998
7:00 am
241
Don;t think so, but why not create a "bridging" DLL which you can create and have it call the original. Not perfect, but it'll work. ... asking ... but it ... ...
Garry McCollum
garry_mccollum@...
Send Email
Nov 10, 1998
4:39 pm
242
... Not correct. If you know the entry points ( which he should do given he has the include file ), then integrating a DLL is extremely simple. For example,...
descarte@...
Send Email
Nov 10, 1998
4:48 pm
243
... The only way to do this in JNI (without using Microsoft's J/Direct or whatever it's called) is to write an additional DLL in C that implements the native...
Buzzy Brown
buzzy@...
Send Email
Nov 10, 1998
5:03 pm
244
The jnative-l mailing list has moved. The new list address is java-native@.... The admin address (for unsubscribing) is...
Andrew Burgess
aab@...
Send Email
Nov 11, 1998
12:23 pm
245
... Could not find jnative archives. Above URL does not exist. Please help. Best, alec dorfman - To unsubscribe use java-native-request@... Archives...
Alec Dorfman
alec@...
Send Email
Nov 13, 1998
10:30 am
246
... Oops. They are in place now. If anyone has copies of articles before July 28 1998 please let me know so I can add them to the archives. -- Andrew Burgess ...
Andrew Burgess
aab@...
Send Email
Nov 13, 1998
6:29 pm
247
Hi there, I am currently porting some JNI invocation code from JDK 1.1 to 1.2, but my GUI now seems to deadlock in sun.awt.motif.X11InputMethod.setXICFocus ...
Wilson Chiu
wilsonc@...
Send Email
Nov 20, 1998
10:46 pm
248
My native code (all called from (multiple) java threads) calls into arbitrary C functions, which callback to the native code where I need the JNIEnv *....
jacobi.PARC@...
Send Email
Nov 21, 1998
1:26 am
249
... In JDK1.2, if you have a vm, you say "GetEnv" (I don't know the exact invocation by heart, but I've implemented it and watched other people's JNI libraries...
David Chase
chase@...
Send Email
Nov 21, 1998
10:13 am
250
... Sure, just use the JNI Invocation API's, like this in 1.1.x: JNIEnv *GetJNIEnv () { JNIEnv *env = NULL; JavaVM *jvm = NULL; jsize numjvm; jint ret; //...
Joseph Millar
jmillar@...
Send Email
Nov 21, 1998
12:58 pm
251
... I think this is a bad idea as soon as you are doing JNI in more than one thread (and maybe even if you are doing it in only one thread). Our...
David Chase
chase@...
Send Email
Nov 23, 1998
3:21 am
252
I've tried this but the number of jvm's returned is zero. I'll have to check the way I was calling it. If I can get to work I'll be happy. Right now I'm...
Mike Perik
mikep@...
Send Email
Nov 23, 1998
3:47 am
253
unsubscribe - To unsubscribe use java-native-request@... Archives http://www.scruz.net/~cichlid/java-native-archive...
Markus Kopp
kopp@...
Send Email
Nov 23, 1998
9:30 am
254
... This will only work in a single treaded environment. The JNIEnv * is thread specific and trying to use it in another thread will lead to errors. --Joe ...
Joseph Millar
jmillar@...
Send Email
Nov 23, 1998
11:32 am
255
I am using it in a single thread. I'm only using it if my callback is coming from the C++ side of the application. I have to enter an event loop occasionally...
Perik, Mike
mikep@...
Send Email
Nov 23, 1998
9:35 pm
256
Excerpts from jnative-l: 22-Nov-98 Re: [JAVA-NATIVE] Getting J.. Mike Perik@... (1804*) ... Make sure you're not checking the value of 'ret' -- it *should*...
Blair Wyman
wyman@...
Send Email
Nov 24, 1998
12:44 am
257
... I didn't know that I could use the JNIEnv* for thread local storage (TLS). What I have done, in Microsoft Windows, is to use their TLS functions to save a...
Glenn Nelson
GlennN@...
Send Email
Nov 24, 1998
2:46 am
258
Thanks you for the help. I have tried (on jdk1.2-rc2, reference impl. on solaris) static JavaVM* myJavaVM = 0; (*j_env)->GetJavaVM(j_env, &myJavaVM); ... ...
jacobi.PARC@...
Send Email
Nov 24, 1998
3:05 am
259
I tried using the following code and it always fails. The context of my use is a native method is called to check for events, if events have occurred they are...
Perik, Mike
mikep@...
Send Email
Nov 24, 1998
5:31 am
260
Correct me if I'm wrong but shouldn't this function look more like?? Mike JNIEnv *GetJNIEnv () { JNIEnv *env = NULL; -> JavaVM *jvm[0] = NULL; jsize...
Perik, Mike
mikep@...
Send Email
Nov 24, 1998
5:53 am
261
I'm using jdk1.1.6. Are there any know problems with this version? Mike ... - To unsubscribe use java-native-request@... Archives...
Perik, Mike
mikep@...
Send Email
Nov 24, 1998
6:29 pm
262
... Like any piece of code, there are numerous ways to write it, with "should be" being a very amorphous concept. You code below should also work, except the...
Joseph Millar
jmillar@...
Send Email
Nov 24, 1998
6:57 pm
263
... Geez, can't get away with anything! You are correct. Older versions of the JNI doc (in fact the printed version I use as a reference) said this was an...
Joseph Millar
jmillar@...
Send Email
Nov 24, 1998
8:22 pm
264
The returned value is 0. Here is the code I'm using. void JVViewer::update(gvMessageUpdate type , GVMesgInterface *msg, GVMesgInterface *subMesg) { GVVMesg...
Perik, Mike
mikep@...
Send Email
Nov 24, 1998
8:46 pm
265
... I've not come across any serious JNI flaws in 1.1.6 and I use it extensively in Lotus Notes on several different platforms. --Joe ...
Joseph Millar
jmillar@...
Send Email
Nov 24, 1998
9:30 pm
266
... Well, assuming you're already in a call stack that was originated from a native method, I can't see how retrieving the JVM would fail. Can you post the...
Joseph Millar
jmillar@...
Send Email
Nov 24, 1998
10:45 pm
267
Hi, Has anyone run into problems with JNI Array access routines on Win 95. For some reason we get random corruption of memory using GetByteArrayElements, ...
Graeme Wallace
graeme@...
Send Email
Nov 26, 1998
1:57 am
Messages 238 - 267 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