wraithdu Posted July 21, 2008 Posted July 21, 2008 Nice program! Bug in today's release - Double click an icon in the window, and I get a "_WinAPI_DestroyIcon: Invalid cursor handle." error. Keep up the good work!
smashly Posted July 21, 2008 Author Posted July 21, 2008 Nice program!Bug in today's release -Double click an icon in the window, and I get a "_WinAPI_DestroyIcon: Invalid cursor handle." error.Keep up the good work!Thank you for the bug report, it's appreciated.When you got that error I'm guessing it was trying to view an icon group that contained png icons that were less then 256x256 in size. I knew I missed a check as I was to focused on the 256x256 size icons and overlooked anything smaller in a png ico.What doesn't help is I didn't have any files that contained png icons at less then 256x256 to test..lolIf so then hopefully it's been correctedin the first posts update (fingers crossed) .Cheers
wraithdu Posted July 21, 2008 Posted July 21, 2008 I've still got the same error and crash (v1.2.1). Ironically, the closest file I grabbed to test this was 'autoit-v3.2.13.3-beta-setup.exe' muttley I'm using Vista Ult SP1 32-bit, if that makes a difference.
ptrex Posted July 21, 2008 Posted July 21, 2008 @ProgAndy / smashly,Why should this be added?It would just be for convenience reasons. This way it is done using my or ProgAndy's method, you need to do it in 2 steps.Extract the ICON file and than grab the HEX code.When it would be included in can be done in 1 step. So saves some unnecessary clicks.But I can understand that If you don't use Zedna's approach that you don't need it. I do you it from time to time. Because you can see the immediate result even if the script is not compiled.This is easier when developing.Anyhow I will leave it up to you. In case it is not added I will add it in my version.Thanksregardsptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New
smashly Posted July 21, 2008 Author Posted July 21, 2008 (edited) I've still got the same error and crash (v1.2.1). Ironically, the closest file I grabbed to test this was 'autoit-v3.2.13.3-beta-setup.exe' I'm using Vista Ult SP1 32-bit, if that makes a difference.Thank you once again.. Nope it's not just vista, I actually get a hard crash in xp on the same file. >Running:(3.2.12.1):C:\Program Files\AutoIt3\autoit3.exe "G:\Iconator\Iconator.au3" !>04:28:19 AutoIT3.exe ended.rc:-1073741819 >Exit code: -1073741819 Time: 17.692 Funny as there's no odd icon formats/sizes in that file. I'll have to delve a bit deeper into it for a resolve. To think I'd actually opened every file in my windows sytem32 directory and about 2 dozen exe's in my program files directory and didn't get a hard crash o_0. Looks like back to the drawing board.. muttley The joys of learning .. weeeee. Edit: Found the problem.. just got to rewrite the way I loop through ordinal names of icons. That file has and odd layout for ordinal names, that'll teach me to assume that ordinal names go in order in a RT_GROUP_ICON. The ordinal names in that file are in a willy nilly order. Just shove them icons in there and give em an ordinal.. Lets see 7, 4, 6, 3, 2, 5, 1, yeah that'll do.. lmao I should be able to fix it easy enough, I just need to commit some time and a few more lines of code. Cheers Edited July 21, 2008 by smashly
smashly Posted July 22, 2008 Author Posted July 22, 2008 @ProgAndy / smashly,It would just be for convenience reasons. This way it is done using my or ProgAndy's method, you need to do it in 2 steps.Extract the ICON file and than grab the HEX code.When it would be included in can be done in 1 step. So saves some unnecessary clicks.But I can understand that If you don't use Zedna's approach that you don't need it. I do you it from time to time. Because you can see the immediate result even if the script is not compiled.This is easier when developing.Anyhow I will leave it up to you. In case it is not added I will add it in my version.ThanksregardsptrexI probably will add something similar when I add the Icon viewer (view/extract/add icons to/from *.ico files).But atm I'm still trying to tidy and bugfix the source of what I already have before adding any new functionality.Cheers
smashly Posted July 28, 2008 Author Posted July 28, 2008 Updated first post with newer version binary. Cheers
ptrex Posted July 29, 2008 Posted July 29, 2008 @smashly Still no extraction to HEX format included ? regards ptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New
smashly Posted July 29, 2008 Author Posted July 29, 2008 Hi Ptrex, thank you for the feedback. I'm now trying to see the best way to add it, since you said an option to copy to clipboard I've sorta had to rework the idea of implementing export hex format, so I decided to hold off on it till later release. In my original Idea of implementing it I was going to offer to export: Extract all icons as hex string functions to 1 x au3 (Could use existing or new au3 and all data would be appended to the end). Extract icons as hex string function 1 x au3 for each icon. (these 2 methods I already had working and ready to go) But the copy hex string to clipboard I'd not even considered until you mentioned it. So I left the hex string part of the code out till I can give it a bit more thought. Cheers
ptrex Posted July 29, 2008 Posted July 29, 2008 (edited) @smashlyYou could in here Export to HEX code add a context menu. When right click the selected icon to export to the clipboard.This way you don't have to rearrange your GUI. It's more or less a hidden function in the listView ?!just a thought.regardsptrex Edited July 29, 2008 by ptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New
smartee Posted July 31, 2008 Posted July 31, 2008 nice work , great interface why dont you add a feature to modify icon resources
Aceguy Posted August 12, 2008 Posted August 12, 2008 WOW, what a prog, LOVE IT [u]My Projects.[/u]Launcher - not just for games & Apps (Mp3's & Network Files)Mp3 File RenamerMy File Backup UtilityFFXI - Realtime to Vana time Clock
SaphuA Posted August 16, 2008 Posted August 16, 2008 Hello, I tried to extract the icon from the latest version of uTorrent (the .exe that is), and it crashes Iconater. Thought I should share. http://www.saphua.com/
smashly Posted August 16, 2008 Author Posted August 16, 2008 Hello, I tried to extract the icon from the latest version of uTorrent (the .exe that is), and it crashes Iconater.Thought I should share.I just tried with utorrent v1.8.0.11813. The uttorrent.exe is compressed with an exe compressor (upx)...Only the first icon is not compressed and it extracts fine for me..So are you trying to extract the compressed icons? if so then I'd suggest to uncompress the utorrent.exe with upx.exe first.(upx -d utorrent.exe)Then use iconator to extract all icons (which does work btw)As stated in the Iconator.txt attached to the first post: Files that use upx or other methods of compression on the icon resources contained in a file will cause dud extracted icons.(I may offer to check the files before importing to the list at a later date)Cheers
SaphuA Posted August 16, 2008 Posted August 16, 2008 Thanks for the quick reply; but no, I was only trying to extract the first icon. http://www.saphua.com/
KaFu Posted December 7, 2008 Posted December 7, 2008 obsolete...Hi smashly,why obsolete. Was a nice program...Cheers OS: Win10-22H2 - 64bit - German, AutoIt Version: 3.3.16.1, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2024-Oct-13) BIC - Batch-Image-Cropper (2023-Apr-01) COP - Color Picker (2009-May-21) DCS - Dynamic Cursor Selector (2024-Oct-13) HMW - Hide my Windows (2024-Oct-19) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2024-Oct-20) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16)
HypercamJ Posted December 9, 2008 Posted December 9, 2008 I never even got a chance to look at it.obsolete...If you put it back up we could try to fix it. No point in giving up yet. Prove, and I will believe...
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