Missing .res file?

Posted on 2006-05-30
Last Modified: 2010-04-05
I just added {$R *.res}  to my code so that it will auto increment the build version number and now when I compile or build it says it's missing a .res file. What is this and how do I fix it? It's not incrementing yet and I'm guessing it has to do with this .res file.
Question by:digitalwav
    LVL 10

    Accepted Solution

    auto increment the build version has nothing to do with .RES.

    To enable auto increment go to Project, Options Menu. Goto Version Info Tab check Include Version information in project, Check Auto-increment build number.

    LVL 1

    Author Comment

    Figures, stupid help file. It said to add that for it to work. Now it's fine.

    LVL 10

    Expert Comment

    The {$R *.res} means that include *.RES (resource file).

    Delphi complains if the .RES file is not there. You need not to include this file if you are not using any external resource file.
    LVL 1

    Author Comment

    Thanks, the help file was kinda misleading about it.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Suggested Solutions

    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 my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    755 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

    17 Experts available now in Live!

    Get 1:1 Help Now