W
Will Lichtenberger
I have a java application that calls, via JNI, many VC++ dlls. The
java application ports System.out and System.err (among other things)
to a file. I would like to capture the cout from the dlls as well.
When running the application from a command line or a debugger, the
couts do show up in the console. It seems if the console is getting
the output from all, then I should be able to capture the couts as
well.
I've considered redirecting the cout to the same file that the
System.out and System.err are written too, but I feel that would cause
extra problems with the JVM and dll sharing the same file.
Anyone have any ideas? Thanks
Note: This is my second attempt to post this, so my apologies if it
appears twice.
java application ports System.out and System.err (among other things)
to a file. I would like to capture the cout from the dlls as well.
When running the application from a command line or a debugger, the
couts do show up in the console. It seems if the console is getting
the output from all, then I should be able to capture the couts as
well.
I've considered redirecting the cout to the same file that the
System.out and System.err are written too, but I feel that would cause
extra problems with the JVM and dll sharing the same file.
Anyone have any ideas? Thanks
Note: This is my second attempt to post this, so my apologies if it
appears twice.