这样<br>在<br>implementation 下<br><br>{$R Test.res}<br><br>然后<br>//read bmp<br>procedure TForm1.Button1Click(Sender: TObject);<br>var<br> Bmp: TBitmap;<br>begin<br> Bmp := TBitmap.Create;<br> Bmp.Handle := LoadBitmap(HInstance,'picture1');<br> Refresh;<br> Canvas.Draw(width-bmp.width-30, 60, Bmp);<br> Bmp.Free;<br>end;<br>//read frist string<br>procedure TForm1.Button2Click(Sender: TObject);<br>Var Ch : array[0..255] of char;<br>begin<br> label1.caption := '';<br> if LoadString(hInstance,1,@Ch,sizeof(Ch)) <> 0 then<br> Label1.Caption := StrPas(Ch);<br>end;<br><br>