Solved

Extracting Icons and Images from Exe?

Posted on 2003-12-06
9
483 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
Independent Software Vendors: 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 23

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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
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…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses
Course of the Month3 days, 23 hours left to enroll

630 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