Archived

This topic is now archived and is closed to further replies.

ICO Xtract

This topic is 5701 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi all, I trying to create a small app in VB6 that is able to locate and extract the .ico data out of an windows 32 execuatble. Can anyone help me out on this one? is there a specific are in the exe header that tells us the initial location of the ico data? Thanx for any input on this,

[Hugo Ferreira][Positronic Dreams][]
"Somewhere, something incredible is waiting to be known."
- Carl Edward Sagan (1934 - 1996)

Share this post


Link to post
Share on other sites
I was searching for somethig that would help me finish
a current project. What I need is a two-step program:

1). Retrieve an ICO from the target app
2). Make so that my own VB app uses that ico permenantly.
(the exe is modified somehow...)

so... if anyone know of a library that can help me
accomplish this, i would be grateful.

Thanks,

[Hugo Ferreira][Positronic Dreams][]
"Somewhere, something incredible is waiting to be known."
- Carl Edward Sagan (1934 - 1996)

Share this post


Link to post
Share on other sites
Maybe you could explain what your project is about. I for one would be interested in learning about the positive uses of a program (written in vb) that is designed to disguise itself as another trusted program. This must be something really revolutionary since normal interface logic would suggest that using another programs icon would lead to confusion as to that programs task. Most Joe six-pack users tend to identify programs by picture (which is how alot of email viruses get spread since the exe icon has been changed to the default icon of a jpeg or similar). Does this program provide some sort of hook for the target exe, maybe something that runs the target program on a virtual machine that is crash proof?

[EDIT] BTW, while I was only made a guess, if you are developing a virtual machine and launcher would you be willing to post a link to it (unless you're planning on selling it). Alot of people would find that useful for certain buggy apps.

[edited by - michalson on May 8, 2002 11:03:57 AM]

Share this post


Link to post
Share on other sites
Yes, this VB app is a mimic-app, it will disguise
itself as the target app. This is so as to not
confuse the user (although you may be thinking otherwise).

What the app does is interface with other programs
(that i''m developing) and receives information, through
a memmory loop-hole, a technique commonly used in game
cheating programs. The target app determines my VB app
is present and sends internal program information
automaticly, anything can be sent...

So, if even the target app crashes, my VB app will still
be running, so, I''ll be able to see where it crashed,and if enough information is provided, i''ll be able to determine the
place of crash even before going back to the source code.

This is cool for Direct-X apps, where we are in graphic mode
and can''t see nothing. Beside, the information passed
to my VB app can be saved to file, etc...

What i''m trying to do now is set the VB app ico to the
target app ico, so that the programmer/ user, can see
what he is linked to.

(note: for a c++ app to interface with my VB app, it
has to be compiled it some of my source code, so i can''t
just go around and communicate with any app I want...)

Its just a cool thing I wanted to see added to the app...
If anyone could help me here, please do!

[Hugo Ferreira][Positronic Dreams][]
"Somewhere, something incredible is waiting to be known."
- Carl Edward Sagan (1934 - 1996)

Share this post


Link to post
Share on other sites
Too bad its not a virtual machine (bochs isn''t good enough, I don''t want a whole vm os, just one to run a particular app in!). Too get it to work you''ll need to lookup info on resource patching (change the resource table and data in an exe/dll) and on creating self modifying exes (making a program modify its own exe at runtime is a bit tricky). I''m doing something else right now but I''ll see about posting some links.

Share this post


Link to post
Share on other sites
it actually sounds pretty nice.
if you could do some kind of DLL linking so that you link your prob with the dll and can get a readout...that would be really sweet.

Bugle4d

Share this post


Link to post
Share on other sites