I'm facing an issue with application button parameters (I'm running the latest nightly builds), where parameters are not expanded (e.g. "%dir%" stays "%dir%" instead of becoming the current directory).
I suspect the issue is related to incorrect use of ExpandEnvironmentStringsForUser in MyExpandEnvironmentStrings: according to the documentation, since Windows 7, the token parameter passed to this function must have, in addition to TOKEN_IMPERSONATE and TOKEN_QUERY, TOKEN_DUPLICATE. See http://msdn.microsoft.com/en-us/library ... 85%29.aspx.
Edit: forgot to mention - I'm running Windows 7 64bit with SP1.
Discuss development issues and submit patches here
1 post • Page 1 of 1