Wednesday, August 20, 2003 12:39 AM
I have a java application. It communicates with a VC dll, using JNI. This dll launches IE, using CoCreateInstance(). When I aceess the IWebBrowser2 pointer, I have received from CoCreateInstance(), it works fine for the first time. But when I try to access it (for invoking navigate2()), I get an error with code 0 (ERROR_SUCCESS). Can you tell me what is wrong? What is the meaning of ERROR_SUCCESS? Am I missing any initialization? Is some method needs to be called in every JNI method? Is this happening because the launched browser is a separate process, something outside the scope of a JVM?