The JVMfromCsharp.dll its only a simbolic name the dll its written in C code and its on the begining of the post the DLL its together with the exe and in c:\, i have already probed it with:
...
Type: Posts; User: GoLuM83
The JVMfromCsharp.dll its only a simbolic name the dll its written in C code and its on the begining of the post the DLL its together with the exe and in c:\, i have already probed it with:
...
The C# declaration its
[DllImport("JVMfromCsharp.dll")]
public static extern void Start(string path);
and works perfect but in C does not, can be? some VS2005 configuration??
Sorry for the code i forgot it has a lot of jars, but thats not the problem, the problem its loading the DLL its always NULL, i have already load the same dll in C# but now i need to do it in C
...
Sorry it´s Null when i do
dll = LoadLibrary("JVMfromCsharp.dll");
I am using visual studio 2005
Hi, i am loading a DLL in C code, but it always return NULL here its my code:
DLL Code in C
#include <jni.h>
#include <stdio.h>
JNIEnv* env;
Hi i am trying to use JVM in C, to run JBoss AS, i have already run it but now i need to stop it, JBoss has two bat files to do it, one for run and the other for stop, i am trying to use two diferent...
Hi, i have an application that run JVM, i am redirecting stdout, i have already done it, with freopen, using process, and running exe, and redirecting.
my question is, I need to omit the file on...
thanks a lot i am going to take a look.
Is it possible??
because I still can´t find a way
I am running windows xp, and using visual studio 2005 as a editor
Hi, i am trying to redirect stdout, in a previous fourum i asked how to redirect ir to a file, and it works, but the thing its that i need to omit that file and save the stdout in a variable, so this...
It works thanks. I have not programed in C since first semesters of carrer thanks
I have already done it but it throws me the ERROR compiling:
Error 3 error C2275: 'JNIEnv' : illegal use of this type as an expression c:\documents and settings\penuelas\my documents\visual studio...
Hi, i am trying to redirect the stdout to a file, i used JNI to run JBoss from jar file but i canīt redirect the output can some one help me here its the code i am trying to do:
int main(int...