﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
1616	AutoIt3Wrapper Icon Resource Error	SkinnyWhiteGuy		"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."	Bug	closed	Future Release	SciTE4AutoIt	Other	None	Fixed		
