Hi, In order to get a hold of the string of the Java exception for printing/logging purposes in native code after calling a static void returning Java method,...
bgoodrick@...
Feb 25, 1999 12:32 am
302
Excerpts from jnative-l: 24-Feb-99 [JAVA-NATIVE] Getting excep.. bgoodrick@... (3738*) ... I think the call to ExceptionClear is fine and dandy, and...
Blair Wyman
wyman@...
Feb 25, 1999 1:03 am
303
This is a snippet of code that I use. While I generally only run in 1.1 I have run it under 1.2 with success. if (err = ee->ExceptionOccurred()) { ...
Jim Adams
sasjaa@...
Feb 25, 1999 6:56 pm
304
Much thanks to Jim and Blair for their comments. ... Brent> I tried to do the env->ExceptionClear() prior to pulling appart the Brent> exception message. This...
bgoodrick@...
Feb 26, 1999 1:14 am
305
[To: the jnative-l mailing list at http://www.scruz.net/~cichlid/java-native-archive/] A customer sent me the following problem involving my JConfig class...
Chris Kelly
samizdat@...
Mar 25, 1999 7:31 pm
306
Although my problem specifically arises from Microsoft Windows, I believe it may be a generic JNI problem having to do with AWT use of native code and...
Glenn Nelson
glennn@...
Mar 26, 1999 3:44 am
307
I am not using JConfig, but when I tried to use custom class loaders I faced the same trouble. Workaround was that I stopped using my custom and relied on the...
ONO Tsuyoshi
ono@...
Mar 26, 1999 4:56 am
308
I was working on a somewhat similar application, in which the native part of the App required a window to be present since it used the native window handler...
Shantanu Sen
ssen@...
Mar 27, 1999 12:59 am
309
... OK, so far this is the same as my situation. However, I initially developed a C++/MFC application that used my DLL. Once this was working I wrote a wrapper...
Glenn Nelson
glennn@...
Mar 30, 1999 12:17 am
310
The only differences that I see between our stuff and yours are the following: (1) We do not need to create an invisible window. Our main window is a JFrame...
Shantanu Sen
ssen@...
Mar 30, 1999 9:51 pm
311
I've been looking at the AWT documentation and can't find a way to get the native handle to a Frame or JFrame. Can you give me some details on how you do this?...
Glenn Nelson
glennn@...
Apr 1, 1999 6:42 pm
312
descarte@...
Apr 1, 1999 6:57 pm
313
I use a hack :). There is a win32 API called FindWindow, which accepts a window name as one of it's parameters and returns the window handle. In my case, the...
Shantanu Sen
ssen@...
Apr 1, 1999 7:37 pm
314
descarte@...
Apr 1, 1999 7:58 pm
315
I am working on a CodeWarrior Java program which calls Pascal and C routines. The pascal code computes a plot, the C code is a glue to Java, Java provides the...
Alain BOUVET
abouvet@...
Apr 19, 1999 8:37 am
316
Salut Alain - The java.lang.UnsatisfiedLinkError is almost always because the library is not loaded or it does not contain the method the code is asking for....
A. Marie Alm
alm@...
Apr 19, 1999 5:04 pm
317
At 10:02 AM 4/19/99 -0700, Marie Alm wrote: [...] ... must be ... Use MPW's DumpPEF command to examine your file's fragment name/imports/exports. MPW comes...
Chris Kelly
samizdat@...
Apr 19, 1999 5:54 pm
318
Is there any way I can unload a (native) library loaded by System.loadLibrary? I have multiple dlls implementing the same APIs (but with different...
Shantanu Sen
ssen@...
Jun 4, 1999 8:25 pm
319
... Looking at the JDK source, it appears that the class that does the work of actually loading the library is the ClassLoader class. It doesn't appear to have...
Buzzy Brown
buzzy@...
Jun 4, 1999 9:29 pm
320
Hello, I am trying to call C code from java (JDK 1.1.6) and I'm encountering some problems. I've wrote a wrapper DLL that call another DLL. My wrapper DLL...
Yannick Le Duc
yld@...
Jun 8, 1999 4:52 pm
321
Does anyone know how to make the JNI invocation API (JNI_CreateJavaVM, etc.) work with the Netscape Communicator (4.6) Java VM? Is it even supported? There...
mattc@...
Jun 9, 1999 6:52 pm
322
Hello everybody ! Just a general question : Is it possible to override java datagrams packets via JNI , and , later on , pass it back again . And if so , how ...
Michael Ditze
midi@...
Jun 18, 1999 12:25 pm
323
Hi, I am developing a Win32 DLL (COM) that uses a Java VM through JNI. I am using JDK1.2.2 on Windows NT4.0 with Service Pack 4 installed. The C++ compiler is...
Joerg Meyer
jmeyer@...
Jun 22, 1999 5:44 pm
324
I would put calls to check for exceptions all over the place. It could be possible that there is an exceptino before you problem line that is actually causing...
Jim Adams
sasjaa@...
Jun 22, 1999 6:13 pm
325
HI Jim, I encapsulated the code in a try/catch block like this: try { // my code to create VM and start Java class ... } catch(...) { ATLTRACE(_T("Exception...
Joerg Meyer
jmeyer@...
Jun 22, 1999 6:42 pm
326
I meant putting env->ExceptionOccurred() calls in. the C++ try/catch stuff shouldn't work at all for this. Jim Adams Jim.Adams@... Principal Systems...
Jim Adams
sasjaa@...
Jun 22, 1999 7:40 pm
327
Jim Adams Jim.Adams@... Principal Systems Developer SAS Institute ... From: Joerg Meyer [mailto:jmeyer@...] Sent: Tuesday, June 22, 1999 2:40...
Jim Adams
sasjaa@...
Jun 22, 1999 7:40 pm
328
Hi Jim, i checked that out and yes an exception is thrown. But only after the call to FindClass when I try to load my own class, everything else works fine....
Joerg Meyer
jmeyer@...
Jun 22, 1999 9:59 pm
329
Hi Joerg, Could it be that your "Test" java file has a package name, i.e.,: package company.module.util; I've found that the package construct fouls up the...
Brent Goodrick
brent_goodrick@...
Jun 23, 1999 12:27 am
330
Just as a thought, try switching the "\\" to "/" Jim Adams Jim.Adams@... Principal Systems Developer SAS Institute ... From: Joerg Meyer...