Sign in to follow this  
Followers 0
sandman

VB equivalent of notifying DLLs in AutoIt?

2 posts in this topic

I have this code:

Private Declare Sub SHChangeNotify Lib "shell32.dll" (ByVal wEventId As Long, ByVal uFlags As Long, ByVal dwItem1 As Long, ByVal dwItem2 As Long)

...

SHChangeNotify SHCNE_ASSOCCHANGED, SHCNF_IDLIST, 0, 0

How would I do something like this in AutoIt? I am extremely inexperienced with DLLs.. does anyone have an idea?


[center]"Yes, [our app] runs on Windows as well as Linux, but if you had a Picasso painting, would you put it in the bathroom?" -BitchX.com (IRC client)"I would change the world, but they won't give me the source code." -Unknownsite . blog . portfolio . claimidcode.is.poetry();[/center]

Share this post


Link to post
Share on other sites



I believe this would be the equivalent in AutoIt.

Global Const $SHCNE_ASSOCCHANGED = 0x08000000
Global Const $SHCNF_IDLIST       = 0x0000

DllCall('shell32.dll', 'void', 'SHChangeNotify', 'int', $SHCNE_ASSOCCHANGED, 'int', $SHCNF_IDLIST, 'int', 0, 'int', 0)

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