A amo Unregistered / Unconfirmed GUEST, unregistred user! 1999-10-27 #2 用Image editor新建一个.res文件, 再新建一个bitmap, 注意设置大小及颜色数, 把你的位图paste过来, 保存为XXXX.res, 在你的dll中加入 {r XXXX.res} 重新build就是了。
用Image editor新建一个.res文件, 再新建一个bitmap, 注意设置大小及颜色数, 把你的位图paste过来, 保存为XXXX.res, 在你的dll中加入 {r XXXX.res} 重新build就是了。
C cytown Unregistered / Unconfirmed GUEST, unregistred user! 1999-10-27 #3 呵呵, 是{$r xxxx.res} 使用方法: var BitMap1 : TBitMap; begin BitMap1 := TBitMap.Create; try BitMap1.LoadFromResourceName(HInstance,'THEBITMAP'); Canvas.Draw(12,12,BitMap1); finally BitMap1.Free; end; end;
呵呵, 是{$r xxxx.res} 使用方法: var BitMap1 : TBitMap; begin BitMap1 := TBitMap.Create; try BitMap1.LoadFromResourceName(HInstance,'THEBITMAP'); Canvas.Draw(12,12,BitMap1); finally BitMap1.Free; end; end;
A Another_eYes Unregistered / Unconfirmed GUEST, unregistred user! 1999-10-27 #6 如果问的是那种全部包含位图和图标的dll. 那么有这种工具, 好象pchome 就有.