How exactly do I add images to a console application?
schroaus 8
Junior Poster in Training
Recommended Answers
Jump to PostAdding them is the easy bit. Doing something with them is harder!
First step is to create a resource script, which is really just a list of the images you want in your app. It looks something like this:
IMAGE1 BITMAP CHEMICAL.BMP IMAGE2 BITMAP FACTORY.BMP IMAGE3 BITMAP …
Jump to PostJust use a simple editor like Notepad to create the .rc file. Sorry, I should have said that. (You could even edit it in the Delphi editor if you wanted to do it that way.)
Jump to PostWhat version of Delphi are you running?
If you have an older version you should USE Graphics instead of VCL.Graphics and just put TBitmap instead of VCL.Graphics.TBitmap.
All 12 Replies
SalmiSoft 102
Junior Poster
schroaus 8
Junior Poster in Training
schroaus 8
Junior Poster in Training
SalmiSoft 102
Junior Poster
SalmiSoft 102
Junior Poster
SalmiSoft 102
Junior Poster
schroaus 8
Junior Poster in Training
schroaus 8
Junior Poster in Training
SalmiSoft 102
Junior Poster
schroaus 8
Junior Poster in Training
schroaus 8
Junior Poster in Training
SalmiSoft 102
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.