[DUG] Attaching an executable to a project build
Jeremy North
jeremy.north at gmail.com
Thu Jan 26 11:57:03 NZDT 2006
Dave,
What version of Delphi are you using? With Delphi 2006 you can add a
text file with an RC extension that contains the resource information
and it will be compiled for you before the project is built.
Failing that, you can use the Open Tools API and handle the
BeforeCompile event. If you need some sample code for that let me
know.
cheers,
Jeremy
On 1/26/06, Dave Jollie <DJollie at navman.com> wrote:
>
>
> Hi all,
>
>
>
> I have a console app which must run every time my Delphi project is built. I
> build the project by choosing the Project Menu and clicking on "Build". Is
> there a way to attach an executable to the build process, so that the exe
> runs first, then the build occurs?
>
>
>
> My console app builds a resource file on the fly and then compiles it –
> ready for inclusion in my main project when I am building it.
>
>
>
> Failing any ideas, I'll add my console app to the Tools menu, but then the
> developer must remember to run it before building the project.
>
>
>
> Any suggestions appreciated.
>
>
>
> Cheers,
>
> Dave
>
>
> _______________________________________________
> Delphi mailing list
> Delphi at ns3.123.co.nz
> http://ns3.123.co.nz/mailman/listinfo/delphi
>
>
>
More information about the Delphi
mailing list