Solved

Icon and verion info is not compiling into the application.

Posted on 2001-07-13
4
149 Views
Last Modified: 2010-04-06
I have noticed that the version information is not compiling into our Delphi application. I recently tried to change the Icon and found that the application still had the previous icon. The 'Include version information in project' checkbox is ticked (before you ask!). I have tried deleting all the DCUs before doing a build but even this does not force the new icon and version information to be contained in the finished exe. We do have some specialist code in the project (program) unit to deal with multiple instances, logging on etc however even after commenting all of this out and rebuilding it still does not take on the new version info or icon. Any sugestions?
0
Comment
Question by:Siband
  • 2
4 Comments
 
LVL 13

Expert Comment

by:Epsylon
ID: 6280127
Work perfectly here. Did you by accident delete the .res file?
0
 
LVL 13

Expert Comment

by:Epsylon
ID: 6280144
The icon is saved in the .res file and the version information in the .dof file...
0
 
LVL 3

Accepted Solution

by:
nnbbb09 earned 50 total points
ID: 6280494

Try deleting the project res file. Delphi will recreate it when you reload the project from your dof file settings. Then reload the icon and rebuild the app.

Jo
0
 

Author Comment

by:Siband
ID: 6280755
Thank you Jo! From Epsylon's comments I realized that it probably had something to do with the res and dof files. And then I remebered that I was using one name for the program and a different name for the .dpr file. (From way back when we combined two projects.) The result was when it was compiling it was using the old res file that went with the old program name from ages ago that hadn't been changed(that coresponded with the old icon and version info) but the dof, cfg, dsk files all has the new name of the .dpr file. Deleting the old res file, as you sugested, caused it to create a new res file with the new name. When I tried to compile it complained about not being able to find a res file with the old name so I (finally) changed the program name to the new file name and now the new icon and version info is in there! Thanks very much.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now