Autor Beitrag
derDoc
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 623

Win Vista Prof
D2007 Prof
BeitragVerfasst: So 28.09.03 11:09 
Ich suche eine Möglichkeit, ein Bild, dass z.B. in einer *.exe liegt zu extrahieren.
Ich habe dazu den Namen der Datei und den ImageIndex.

Wie stelle ich das am besten an?

_________________
MfG derDoc
There are only 10 types of people: those who understand binary and those who don't.
MSCH
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1448
Erhaltene Danke: 3

W7 64
XE2, SQL, DevExpress, DevArt, Oracle, SQLServer
BeitragVerfasst: So 28.09.03 12:22 
hmmm, Holzauge sei wachsam. Wenn das Bild in einer eingebundenen Resource liegt, versuchs mal mit loadBitmap, LoadLibrary und so weiter.

grez
msch

_________________
ist das politisch, wenn ich linksdrehenden Joghurt haben möchte?
derDoc Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 623

Win Vista Prof
D2007 Prof
BeitragVerfasst: So 28.09.03 14:28 
Vielleicht drücke ich mich schlecht aus, oder ich verstehe nicht, was du meinst.

Ich habe z.B. die Datei 'C:\WinNT\SYSTEM32\SHELL32.DLL' und will das Bild mit dem Index 8 in einem ImageFeld anzeigen.

Wie stelle ich das am besten an?

_________________
MfG derDoc
There are only 10 types of people: those who understand binary and those who don't.
derDoc Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 623

Win Vista Prof
D2007 Prof
BeitragVerfasst: So 28.09.03 18:03 
Hat sich erledigt.

PSDK:
ExtractIcon
ExtractIconEx

Läuft einwandfrei.

_________________
MfG derDoc
There are only 10 types of people: those who understand binary and those who don't.