Search:

Type: Posts; User: GoLuM83

Search: Search took 0.00 seconds.

  1. Thread: LoadDLL Help

    by GoLuM83
    Replies
    10
    Views
    1,596

    The JVMfromCsharp.dll its only a simbolic name...

    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:


    ...
  2. Thread: LoadDLL Help

    by GoLuM83
    Replies
    10
    Views
    1,596

    The C# declaration its ...

    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??
  3. Thread: LoadDLL Help

    by GoLuM83
    Replies
    10
    Views
    1,596

    Sorry for the code i forgot it has a lot of jars,...

    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
    ...
  4. Thread: LoadDLL Help

    by GoLuM83
    Replies
    10
    Views
    1,596

    Sorry it´s Null when i do dll =...

    Sorry it´s Null when i do



    dll = LoadLibrary("JVMfromCsharp.dll");


    I am using visual studio 2005
  5. Thread: LoadDLL Help

    by GoLuM83
    Replies
    10
    Views
    1,596

    LoadDLL Help

    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;
  6. Thread: JNI

    by GoLuM83
    Replies
    0
    Views
    1,533

    JNI

    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...
  7. Thread: Memory File

    by GoLuM83
    Replies
    0
    Views
    1,105

    Memory File

    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...
  8. Replies
    6
    Views
    4,537

    thanks a lot i am going to take a look.

    thanks a lot i am going to take a look.
  9. Replies
    6
    Views
    4,537

    Is it possible?? because I still can´t find a...

    Is it possible??
    because I still can&#180;t find a way
  10. Replies
    6
    Views
    4,537

    I am running windows xp, and using visual studio...

    I am running windows xp, and using visual studio 2005 as a editor
  11. Replies
    6
    Views
    4,537

    Redirect stdout

    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...
  12. Replies
    4
    Views
    5,721

    It works thanks. I have not programed in C since...

    It works thanks. I have not programed in C since first semesters of carrer thanks
  13. Replies
    4
    Views
    5,721

    I have already done it but it throws me the ERROR...

    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...
  14. Replies
    4
    Views
    5,721

    stdout with JNI

    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...
Results 1 to 14 of 14