I'm writing VC++ COM wappers for java classes, for supporting Microsoft clients. Inside the COM DLL i'm starting the JVM (IBM 1.4.1) and making calls through JNI.

I'm getting an exception and call ExceptionOccurred, ExceptionDescribe and ExceptionClear to gather the important details of the exception. The output of ExceptionDescribe goes nowhere though, even if I redirect stderr to a file.

Any ideas?