- GetMethodID problem
First of all : I am working on z/OS.....what unfortunately means, that 90% (or more) of you can stop reading now.I have a Java application on a server, calling a C++ DLL. This works fine.But when I try to call a Java method from C++, GetMethodID always returns 0 (method not found).For debugging ...
- GetJavaVM unresolved externals
Hi, I'm using jdk ver 1.4.0 and Visual C++. I've created many dllswith no problem from the command line using the appropriateflags, directories and etc. So I know the jni.h file is being linkedin correctly.Now I'm trying to use GetJavaVM and I'm getting a link error: "unresolved external ...
- GetFileVersionInfoSize
Hello all. The last view times I have posted in any forum I have not gotten many answers but I am really hoping I do on this one. I have been going at it all day and really need some pointers in hopes that someone can help me!!I am trying to write some jni code to be able to find version info ...
- GetDefaultJavaVMInitArgs(void *) structures? which one do I use?
Environment: Windows XP sp1 J2SDK 1.4.1_01 P4 - 512meg ram Microsoft Visual C++ 6.0 sp5Question: I'm writing a program that creates a Java Virtual Machine and launches a static method from a class. It works good so far. Going through the limited documentation on the Invokation API and looking ...
- getContents method gives old data
HiI am having a particular problem in retrieving data from system clipboard. the problem and the flow is as follows.First i invoke a method which gets the system clipboard from Toolkit and using its setContents method puts my own java object on the clipboard.Then I invoke a native method which ...
- GetByteArrayElements
I had problems with this function, so I wrote a simple testing program to see what was the behaviour. I followed JNI book 's examples and still can't figure out what is the problem. Simply when I runjava testFolder.testI make the JVM crash (VM Abort with dump of memory message and logfile ...