Sign in to follow this  
Followers 0
MCP

I do not know where to find some constants after upgrading to the latest version

3 posts in this topic

After upgrading to 3.2.10.0, some constants that were included in A3LConstants.au3 are missing:

  • $SPI_SETDESKWALLPAPER
  • $SPIF_UPDATEINIFILE
  • $SPIF_SENDCHANGE
even if - for instance $SPIF_UPDATEINIFILE - is mentioned in WinAPI.au3 (at line 4334).

The find in files SciTE option did not find any declaration but in A3LConstants.au3.

Is this a bug or am I missing anything?

Share this post


Link to post
Share on other sites



#3 ·  Posted (edited)

This post will surely help you :

http://www.autoitscript.com/forum/index.php?showtopic=58012

Regards.

Yes. thank you. In fact I have found the equivalent solution in the new AutoIt version for each of the functions I was previously running in the Auto3Lib environment, but some constants - even if cited in the new help files - are not declared/defined in the latest versions: beta and release as well. It seems to be a sort of BUG. :P

_WinAPI_SystemParametersInfo ($SPI_SETDESKWALLPAPER, 0, DllStructGetPtr($tBuffer), BitOR($SPIF_UPDATEINIFILE, $SPIF_SENDCHANGE))
Edited by MCP

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0