Modify

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#1616 closed Bug (Fixed)

AutoIt3Wrapper Icon Resource Error

Reported by: SkinnyWhiteGuy Owned by:
Milestone: Future Release Component: SciTE4AutoIt
Version: Other Severity: None
Keywords: Cc:

Description

I was trying to add around 75 icons to a program I was writing, so I didn't have to use a resource dll or anything like that. I kept getting the wrong icons for my toolbars and such, and couldn't figure out why, I knew I was using the right index's. I finally loaded my exe into ResHacker, to see what it saw for icons. I found most of the Icon Groups had only the first few icons I had added, just repeated, and some of them were mixed up. I couldn't figure out why that was, until I noticed that none of what it calls "Ordinal Numbers" were above 255. On a hunch, I looked in the AutoIt3Wrapper.au3 file, and found where the icons are added, and found the ResourceID was indeed a byte. I searched online, and found this http://msdn.microsoft.com/en-us/library/ms997538.aspx. According to it, the nID (our ResourceID) should be a word, or 2 byte short. I changed my copy of AutoIt3Wrapper to reflect that, and all my problems went away.

So, in short, line 1803 in AutoIt3Wrapper.au3 needs ResourceID changed from byte to short.

Attachments (0)

Change History (3)

comment:1 follow-up: Changed 9 years ago by Jos

  • Component changed from Other to SciTE4AutoIt
  • Resolution set to Fixed
  • Status changed from new to closed
  • Version changed from 3.3.6.0 to Other

Made the update to $tB_GroupIcon and uploaded a new version to the SciTE Beta directory.
Please test to see if that fixes it for you.

Thanks
Jos

comment:2 Changed 9 years ago by TicketCleanup

  • Milestone set to Future Release

Automatic ticket cleanup.

comment:3 in reply to: ↑ 1 Changed 9 years ago by anonymous

Replying to Jos:

Made the update to $tB_GroupIcon and uploaded a new version to the SciTE Beta directory.
Please test to see if that fixes it for you.

Thanks
Jos

That fixed it for me, thanks.

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.