I need to ge the handle to an embedded resource. Currently, im using ExtractIconEx(szPath, 0, 0, ref hIcon, 1) to get the first, but subsequent calls (e.g. ExtractIconEx(szPath, 1, 0, ref hIcon, 1)) do not return other icons. I can call Assebmly.GetManifestResourceNames and the icon is there, and I can create an icon object using the other icons. Since im putting an icon on the tray, i need the get the handle to the icon, and I dont know how to extract the handle from the icon object.
rich