About use jinterop get windows event log
<p>when i run the code below: </p>

<pre><code>JISession dcomSession = JISession.createSession(domain, user, pass);
dcomSession.useSessionSecurity(false);
JIProgId id =  JIProgId.valueOf("WbemScripting.SWbemLocator");
id.setAutoRegistration(true);
JIComServer wbemLocatorComObj = new JIComServer(id, host,dcomSession);
</code></pre>

<p>exception occurs:</p>

<pre><code>    org.jinterop.dcom.common.JIException: Access is denied, please check whether the [domain-username-password] are correct. Also, if not already done please check the GETTING STARTED and FAQ sections in readme.htm. They provide information on how to correctly configure the Windows machine for DCOM access, so as to avoid such exceptions.  [0x00000005]
    at org.jinterop.winreg.smb.JIWinRegStub.winreg_CreateKey(JIWinRegStub.java:310)
    at org.jinterop.dcom.core.JIComServer.initialise(JIComServer.java:510)
    at org.jinterop.dcom.core.JIComServer.&lt;init&gt;(JIComServer.java:414)
    at main.java.EventLogListener.getWmiLocator(EventLogListener.java:43)
    at main.java.EventLogListener.main(EventLogListener.java:87)
Caused by: org.jinterop.dcom.common.JIRuntimeException: Access is denied, please check whether the [domain-username-password] are correct. Also, if not already done please check the GETTING STARTED and FAQ sections in readme.htm. They provide information on how to correctly configure the Windows machine for DCOM access, so as to avoid such exceptions.  [0x00000005]
    at org.jinterop.winreg.IJIWinReg$createKey.read(IJIWinReg.java:459)
    at ndr.NdrObject.decode(NdrObject.java:36)
    at rpc.ConnectionOrientedEndpoint.call(ConnectionOrientedEndpoint.java:137)
    at rpc.Stub.call(Stub.java:113)
    at org.jinterop.winreg.smb.JIWinRegStub.winreg_CreateKey(JIWinRegStub.java:304)
    ... 4 more
</code></pre>

<p>I 'm sure the host domian user password is ok, when <code>JIProgId id =  JIProgId.valueOf("InternetExplorer.Application");</code> it works, but why above doesn't work?</p>

<p>Please give me some advice!</p>
