Is there a way to extract an icon from a DLL? Wine seems to do this automatically when programs are installed, I just can't figure out how. Is there a way to do it from the commandline?
-Brian
Hi,
On Fri, May 27, 2005 at 03:00:05PM -0600, Brian Vincent wrote:
Is there a way to extract an icon from a DLL? Wine seems to do this automatically when programs are installed, I just can't figure out how. Is there a way to do it from the commandline?
Well, there are some Windows utilities on the internet for resource extraction or replacement. I don't know any names, but I'm sure there are several.
Probably no Linux tools, though. (enhancing winedump to would probably be useful)
Andreas
Saying Yes to "Create Desktop Icon" during installation allows these icons to be extracted onto the desktop. Alternatively, get a resource editor and manually extract the icon into a file. (Or is it possible to call a function in the .EXE to extract the icon ?)
Andrew
You can be the captain I will draw the chart Sailing into destiny Closer to the heart
Closer to the Heart by Rush (A Farewell to Kings, 1977)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Brian Vincent wrote:
Is there a way to extract an icon from a DLL? Wine seems to do this automatically when programs are installed, I just can't figure out how. Is there a way to do it from the commandline?
-Brian
On 5/27/05, Brian Vincent brian.vincent@gmail.com wrote:
Is there a way to extract an icon from a DLL? Wine seems to do this automatically when programs are installed, I just can't figure out how. Is there a way to do it from the commandline?
Someone replied to me off list with info on the icoutils package: http://www.student.lu.se/~nbi98oli/icoutils.htmlhttp://www.student.lu.se/%7Enbi98oli/icoutils.html
Anyway, it's really cool. It can generate lists of resources, extract those resources from dll's, convert .ico files to png, etc.
-Brian