c.haslam Posted August 19, 2009 Share Posted August 19, 2009 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 Spoiler CDebug Dumps values of variables including arrays and DLL structs, to a GUI, to the Console, and to the Clipboard Link to comment Share on other sites More sharing options...
smashly Posted August 19, 2009 Share Posted August 19, 2009 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? Link to comment Share on other sites More sharing options...
Zedna Posted August 19, 2009 Share Posted August 19, 2009 (edited) On my WinXP SP2 (32bit) with Autoit 3.2.12.1 and Autoit 3.3.1.1 it works fine. Edited August 19, 2009 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Yashied Posted August 20, 2009 Share Posted August 20, 2009 (edited) Try _GUIImageList_ReplaceIcon() and check the passing parameters when calling _GUIImageList_Create(). Edited August 20, 2009 by Yashied My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More... Link to comment Share on other sites More sharing options...
c.haslam Posted September 2, 2009 Author Share Posted September 2, 2009 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. Spoiler CDebug Dumps values of variables including arrays and DLL structs, to a GUI, to the Console, and to the Clipboard Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now