Re: Using with WMI COM classes

Andre BdeS <[email protected]>
Newsgroups gmane.comp.windows.devel.jawin
Message-ID <LISTSERV%[email protected]>
Hello,

I am trying to execute the code from Ronald Nasby and I get the following
error message:

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at
PC=0x77AAFC5E
Function=CoFreeAllLibraries+0x4A1
Library=C:\WINNT\system32\OLE32.DLL
Current Java thread:
 at org.jawin.marshal.GenericStub.comInvokeString0(Native Method)
 at org.jawin.marshal.GenericStub.comInvokeString(GenericStub.java:207)
 at org.jawin.COMPtr.comInvoke(COMPtr.java:115)
 at org.jawin.IEnumVariant.Next(IEnumVariant.java:63)
 at wmiexample.main(wmiexample.java:35)

Any idea on what might cause this, and steps to fix?

Thank you in advance,

André
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.