Sign in to follow this  
Followers 0
c.haslam

GUIImageList_AddIcon: example in help doesn't work for me

5 posts in this topic

It fails by showing an Errpr dialog box "GUIImageList_AddIcon -1" at the line:

_GUIImageList_AddIcon($hImage, @SystemDir & "\shell32.dll", 110)

Any clues why?

...chris


...chris

Share this post


Link to post
Share on other sites



Hi seems odd,

I'm using Win7 x64 & XP x86, AutoIt 3.3.0.0 & beta 3.3.1.1 and _GUIImageList_AddIcon() example from either autoit help file is working fine here when running form Scite v1.78.

What are the other factors on your end?

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Share this post


Link to post
Share on other sites

My point was that the example script doesn't run on my Win 2000 SP4. I was wondering whether the problem was my particular installation, or a general problem with people running W2KSP4. Neither of those who posted are using Win2K, so I don't have an asnwer to the question.

AutoIt still supports Win2Ksp4, so the examples should run on it. If anyone using SP4 had said "sure, it works on my machine", I would know that my installation is defective (and I would become silent). If others had a problem with this example, I would seek to have the example changed to one that runs on Win2K.


...chris

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