|
|
|
|
![]() ![]() |
Nov 14 2006, 07:38 PM
Post
#1
|
|
|
Newbie [ Level 2 ] Group: Members Posts: 15 Joined: 14-November 06 Member No.: 17,259 |
i need to add *.bmp to *.dll, and to put it into dbimage, how should I do that???
|
|
|
|
Nov 14 2006, 08:42 PM
Post
#2
|
|
|
Member [ Level 1 ] Group: Members Posts: 46 Joined: 18-October 06 Member No.: 16,664 |
i need to add *.bmp to *.dll, and to put it into dbimage, how should I do that??? Two methods. First one is to include a reference into the Resource script file "*.RC". Here is a link that explains how to do this: http://jansfreeware.com/articles/delphiresource.html Second one is by using a resource editor (like "Resource Hacker") then edit the compiled resource file (*.RES) that goes to be included to the linker, so you add your image resource. Then at your source code, you need to load the resource via LoadResource function... |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 11th October 2008 - 06:11 PM |