New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UnsatisfiedLinkError GetIfEntry2 on winxp #315
Comments
The GetIfEntry2 function requires Vista or later. And you're correct, the change in #243 is the 'culprit'. It's probably easy to put in a Windows version check to use the 32-bit statistics on pre-Vista. |
I did see another UnsatisfiedLinkError with Winxp-32 as well, but haven't traced it back to a particular version yet. I just disabled uptime since I don't need it. Exception in thread "pool-9-thread-1" java.lang.UnsatisfiedLinkError: Error looking up function 'GetTickCount64': The specified procedure could not be found.
|
Thanks! This stack trace is enough to go on. |
Snapshot is updated with fixes in #316. Can you test it out and see if it solves both problems above? |
Looks good to me. Thanks for the quick fix! |
I know Winxp is obsolete but...
I'm seeing this error on Winxp 32bit when calling SystemInfo in OSHI 3.2 and 3.3, but I don't see the error in 3.1.1 and below. Maybe related to #243: Make Windows network statistics 64-bit ?
I'm using JNA 4.2.2
Exception in thread "pool-9-thread-1" java.lang.UnsatisfiedLinkError: Error looking up function 'GetIfEntry2': The specified procedure could not be found.
The text was updated successfully, but these errors were encountered: