Hi Jeremy,

I'm using 2006. The first option you mention would be good, but I'm
wanting to build the rc text file on the fly, based on files in a
directory, when the build occurs. So having Delphi automatically compile
for me is only half my answer.

I googled and found http://www.tempest-sw.com/opentools/
It mentions Delphi 3 and 4. Will this work with 2006? Is this much of a
learning curve? Any sample code re the BeforeCompile event, would be
greatly appreciated.

Thanks.

Dave


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Jeremy North
Sent: Thursday, 26 January 2006 11:57 a.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Attaching an executable to a project build

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 <[EMAIL PROTECTED]> 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
> [email protected]
> http://ns3.123.co.nz/mailman/listinfo/delphi
>
>
>

_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi

_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to