Solved

Extracting Icons and Images from Exe?

Posted on 2003-12-06
9
481 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 27

Accepted Solution

by:
kretzschmar earned 40 total points
ID: 9891476
0
 
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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to convert memory stream to PDF file 6 186
Delphi and Access based Enumeration 9 78
DBGrid or StringGrid ? 6 120
Delphi Firemonkey : user drawing in window 3 28
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 I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

726 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