Quite simply, how do I extract icons from the mentioned files using C or C++? Or is that even possible using those languages? Will I have to use Visual Basic .NET or C# instead, as mentioned in one of the tutorials in here?
Extracting icons from exe, ico and dll files
Started by ThemePark, Jul 10 2009 01:02 PM
10 replies to this topic
#1
Posted 10 July 2009 - 01:02 PM
|
|
|
#2
Posted 12 July 2009 - 07:52 AM
It is possible, but not easy. It's such a long story that it's not even worth going through.
#3
Posted 13 July 2009 - 12:03 AM
Use LoadResource -> LoadResource Function ()[/url] first parameter -> GetModuleHandle().. and then FindResource()
#4
Posted 13 July 2009 - 03:01 AM
winuser said:
Use LoadResource -> LoadResource Function ()[/url] first parameter -> GetModuleHandle().. and then FindResource()
#5
Posted 13 July 2009 - 05:24 AM
More generic solution to extract icon from exe ? There are'nt that solution because it is platform dependent, so on windows use WindowsAPI...
#6
Posted 13 July 2009 - 05:56 AM
winuser said:
More generic solution to extract icon from exe ? There are'nt that solution because it is platform dependent, so on windows use WindowsAPI...
#7
Posted 13 July 2009 - 06:14 AM
Mathematix said:
That's specific to windows. I was thinking of a more generic solution.
that`s specific for windows.. so find another way to do that . . .
#8
Posted 13 July 2009 - 06:25 AM
winuser said:
that`s specific for windows.. so find another way to do that . . .
#9
Posted 15 July 2009 - 07:11 AM
Mathematix said:
What's your problem, dude?
What is that you don't understand ?!
a DLL is *specific* to Windows.
#10
Posted 15 July 2009 - 07:24 AM
carly said:
What is that you don't understand ?!
a DLL is *specific* to Windows.
a DLL is *specific* to Windows.
What I don't understand is why it matters so much. Yes, you can wimp out and use LoadResource() and what-have-you, but all I'm saying is that you can be clever and write your own file extraction routines. Do you get me now? :blink:
#11
Posted 15 July 2009 - 03:21 PM
Why write your own if there is a function already have one there for you. If you are willing too and you want to for experience, be my guest otherwise just use the built-in ones.
Just my say on it.
Just my say on it.
jQuery Selectors Tutorial - jQuery Striped Table tutorial - jQuery Events - jQuery Validation
Sorry if I don't post as often as I did, I'll try to get here as much as possible! I'm working my bum off to get this scholarship and other stuff!


Sign In
Create Account


Back to top









