• Post Reply Bookmark Topic Watch Topic
  • New Topic

make a text output immediately with jni  RSS feed

 
Joe Schaffer
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a strange behaviour in my java application. I am able to connect to a dll and return a value. The problem is, that the text output from the dll will be displayed at the very end of my java application when it is about to end my main function.

Any ideas how it is possible to immediately print out these text ouputs?

greetings

Joe
 
Derek Baker
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think it's as simple as adding a newline character to the end of the printed string in the C function.

Derek
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!