Solved

Extracting Icons and Images from Exe?

Posted on 2003-12-06
9
474 Views
Last Modified: 2010-04-05
Hi!

How extract Icons and Images from an executable file?
There is a sample in "Demo" Directory named "ResXplor"
But it cant extract all images and icons from exe.

The Author of this project himself wrote in first of unit "RXMain.pas" following line:

{ This program provides an example of how to use the TreeView and ListView
  components in a fashion similar to the Microsoft Windows Explorer.

  It is not intended to be a fully functional resource viewer. }


Does somebody show me a way for extracing images and icons completely.

Regards
0
Comment
Question by:Mamouri
9 Comments
 
LVL 11

Assisted Solution

by:robert_marquardt
robert_marquardt earned 31 total points
ID: 9891149
Have a look at the Jedi Code Library http://sourceforge.net/projects/jcl
The example PEViewer also shows the resources.
0
 
LVL 2

Expert Comment

by:odissey1
ID: 9891234
Hi Mamouri,

Not clear, do you need 1. icons extractor programm, 2. shell browser component or 3. you want to build your own combination  of 1 & 2?

regards,
odissey1
0
 
LVL 3

Author Comment

by:Mamouri
ID: 9891399
Robert Thankx I will check it!
Odissey simply I want extract images and icons from and executable file! I can write myself shell browser component. It is not very hard! I want extract all exist icons and images from an exe

Regards
0
 
LVL 27

Accepted Solution

by:
kretzschmar earned 40 total points
ID: 9891476
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 2

Expert Comment

by:odissey1
ID: 9891503
Hi  Mamouri,

>I can write myself shell browser component. It is not very hard!

I think you are speaking about a basic file Viewer - not Shell Browser. To understand the complexity of 'Browser' take a look at VirtualShellTools (freware shell browser components) -so far the best I know- at
http://groups.yahoo.com/group/VirtualExplorerTree/
(first time installation can easely take 4-5 hours :)

this project is run for almost 2 years by several high-profile coders and still under development. If you are capable to accomplish something like that alone - you don't need  help here..

Problems I know: First, you'll have to work with shell functions. Then most likely you will need Namespace extensions (another nightmare). Then you will have to use 'virtual' mode -otherwise you'll stuck on any 'fat' folder forever. And both TTreeView and TListView are SO buggy in virtual mode and you have to patch them.

If you decide to go with VirtualShellTools, there is an example there (demos section) how-to populate  Thumbnails with a custom bitmaps (that's what you want). There are also several demo programs shownig howto build Explorer clones.

Another good solution for namespace browsing (NSLIB - the only one that I know) will be here http://www.whirlingdervishes.com/ (it costs approx. $350 and well worth it). In this approach you can use standard Windows explorer to open subfolders (like zip files) to see custom information on it (in your case - icons and bitmaps packed inside the file).

If you are still thinking about real Shell Browsing - think again - Borland tried to deliver TShell comonents for several years and failed - project is dropped as un-accomplished (that's why it is still under the Samples group).  

Good luck!

Regards,
odissey1
 
0
 
LVL 22

Assisted Solution

by:Ferruccio Accalai
Ferruccio Accalai earned 40 total points
ID: 9892896
I think you need something like ResHacker ( http://www.users.on.net/johnson/resourcehacker/ )...
So you can look at the resource editor source as suggested in that site http://www.wilsonc.demon.co.uk/d6peresourceeditor.htm or download this D7 free package with source to learn how to  exctract resources from exe's and dll's http://www.btinternet.com/~wilsoncpw/resexp_source.zip

F68 ;-)
0
 
LVL 3

Expert Comment

by:ThoseBug
ID: 9896092
Please give me a break...who is odissey1?....all the topics with your participation only have bad news and ironics comments...
0
 
LVL 2

Expert Comment

by:odissey1
ID: 9898737
To ThoseBug,

Icons extraction is easy. Shell browsing is not. This is my last (weekend) project that was started Dec 1, 2002 - and not ready yet as after passing 10k lines of code program became 'unstable' :( . Note that existing programs like GLExtract, etc. do show tree view but have no brawsing capabilities.

odissey1
0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 10796353
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Send message from delphi to whatsapp, is it possible? 3 1,153
Using idhttp to login to instagram 2 76
Help on project with Soap 10 48
Downloading email attachments 2 67
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now