Board index » cppbuilder » Run button is not doing correctly his job

Run button is not doing correctly his job

Hi,

  When I do a change in my code (for example, place an TImage at a different
location at runtime) and I run it, no compilation and linking are done, so I
continue to use the old executable and I don't see my change.

 If I go in project option and I check default and then I save, the run
button will do correctly his job. But I will have to do it again each time.
If I compile and make the modified unit and then I run it, no change appear.
Only build all do correctly his job.

 What can I do to make the run button work correctly?

Thank
Chris

 

Re:Run button is not doing correctly his job


Do you have Autosave turned on?  In BCB5, it's under Tools |
Environment Options.  In the "Autosave options" group on the
Preferences tab, be sure "Editor files" is checked.

On Sun, 22 Apr 2001 14:01:05 -0400, "Christian Gilbert"

Quote
<christi...@videotron.ca> wrote:
>Hi,

>  When I do a change in my code (for example, place an TImage at a different
>location at runtime) and I run it, no compilation and linking are done, so I
>continue to use the old executable and I don't see my change.

> If I go in project option and I check default and then I save, the run
>button will do correctly his job. But I will have to do it again each time.
>If I compile and make the modified unit and then I run it, no change appear.
>Only build all do correctly his job.

> What can I do to make the run button work correctly?

>Thank
>Chris

Re:Run button is not doing correctly his job


Usually the same thing happens to me when I go to the folder and I run the exe
myself. It usually confuses the Run. I just delete all the temporary files
including the exe and rebuild the project.

Other Threads