建立一个demo.rc资源源文件
如:
bmp1 bitmap d:\111.bmp
bmp2 bitmap d:\222.bmp然后使用delphi提供的brcc32.exe demo.rc 编译成demo.resbrcc32.exe 在bin目录中
在窗体的implementation下面加入
{$R demo.res}调用时:
image1.picture.bitmap.handle:=loadbitmap(hinstance,'bmp1');
如:
bmp1 bitmap d:\111.bmp
bmp2 bitmap d:\222.bmp然后使用delphi提供的brcc32.exe demo.rc 编译成demo.resbrcc32.exe 在bin目录中
在窗体的implementation下面加入
{$R demo.res}调用时:
image1.picture.bitmap.handle:=loadbitmap(hinstance,'bmp1');
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货