-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Write REG_EXPAND_SZ values #320
Comments
Patches (with associated tests) are welcome. On Apr 19, 2014, at 8:24 AM, Christian LIPP [email protected] wrote:
|
Thanks for your help. I am using groovyConcole, so I didn't have AutoComplete and the function is also not mentioned in JavaDoc: https://jna.java.net/javadoc/platform/com/sun/jna/platform/win32/Advapi32Util.html Regards, CL |
That doc link is very old. See http://twall.github.io/jna/4.1.0. If you found a link to that doc on Github somewhere, lets fix it. |
It was the first hit on Google when searching for Advapi32Util.registrySetStringValue |
Motivation: We should release in a finally blog so we don't leak on failure Modifications: Move release() to finally block. Result: No more leaks when write fails
At the moment it is not possible to write String values to the registry with type REG_EXPAND_SZ. When I try to set a path variable with
a REG_SZ value is created. I would like to have one additional (or overloaded) function which is able to create a REG_EXPAND_SZ value.
The text was updated successfully, but these errors were encountered: