This code works for an *.ico file but not for an *.dll file
iconfile = xxx.ico hicon := DllCall("LoadImage", UInt, NULL, Str, iconfile, UInt, 1, Int, 16, Int, 16, UInt, 0x2010)I hope there exists a similar approach for *.dll files.
I ask, because it would perfectly extend SB_icon().
I have found a post from Chris, who uses IL_Add() to get icons from an dll and adds them to Tabs with SendMessages. Could this somehow be used to get the handle?
I have had a look at the MSDN doc. on LoadImage. It seams to me that LoadImage could load an image form an dll file. But I do not know how to get it working. I do not know how to get the hex values of the vars. Could someone help me please?