JNI multiple String problem

2003-03-12 Thread Nicholas Burton
Hi I am having a problem with java native interface under Cygwin that I don't have under solaris. Briefly, I am trying to pass 2 strings (a filename and open mode) from java to C native code in order to open a file and process the contents. I can pass 1 string and print it out with printf(). If I

Re: JNI multiple String problem

2003-03-13 Thread Nicholas Burton
Ronald Yes I am lucky that you are working on JNI at the moment :^) Thanks very much for your prompt and very helpful reply. I tried the gcc -mrtd flag and it did cure the problem. I am not sure if I am running in rxvt. Does that happen automatically when you execute cygwin.bat (ie bash --login