Im trying to extract an icon from a resource file (.dll) and i need to use the function ExtractIcon()

What namespace/class is it in?

or is there another way to extract an icon from a dll file?

Its not in a class, the method has to be interloped from shell32.dll

here's an example on codeproject http://www.codeproject.com/KB/cs/iconhandler.aspx

Please try and search google for answers before posting questions in our forums. they tend to get crowded with links to codeproject or dream in code.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.