Autor Beitrag
delphimike
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 117



BeitragVerfasst: Do 17.11.05 10:24 
Hallo

ich habe eineige Bitmaps in eine RC Datei gespreichert und mit BRCC32 -r Bilder.rc compiliert. Es entstand wie es sein soll die Datei Bilder.Res aus folgendem Beispielcode

100 BITMAP "BILD1.BMP"
101 BITMAP "BILD2.BMP"

Die Datei habe ich mit {$R BILDER.RES} eingebunden und eigentlich sollte nun ein Bitmap über
ausblenden Delphi-Quelltext
1:
  Logo.picture.Bitmap.LoadFromResourceName(HInstance,'101');					


geladen werden. Aber die Resource 101 wird nicht gefunden.
Was mache ich falsch?

Gruß Mike


Moderiert von user profile iconraziel: Topic aus VCL (Visual Component Library) verschoben am Fr 18.11.2005 um 13:21

_________________
kaum macht man was richtig, schon gehts!
digi_c
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1905

W98, XP
D7 PE, Lazarus, WinAVR
BeitragVerfasst: Do 17.11.05 12:50 
Schau dir mal die .EXE z.B. mit Resourcehacker an, heißt die Resource "101" oder "bild1.BMP" :?
delphimike Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 117



BeitragVerfasst: Do 17.11.05 16:30 
... ich stand auf dem Schlauch mit ResourceID gehts

_________________
kaum macht man was richtig, schon gehts!
digi_c
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1905

W98, XP
D7 PE, Lazarus, WinAVR
BeitragVerfasst: Fr 18.11.05 08:56 
Sowas dachte ich mir :D