Getting the handle to an embedded resource (Icon)

Last post 07-05-2004 18:40 by Anonymous. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 07-05-2004 18:40

    Getting the handle to an embedded resource (Icon)

    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
Page 1 of 1 (1 items)