I forgot to mention that initially I overlooked the need to recompile the project rather than just F9 (Run) the project from the IDE when anything new is added to the .RC, or the new material will not be availble as Delphi is not set up to monitor changes to the .RC even if it is included as a project file, and therefore does not recompile off its own bat.
Shift F9 (rebuild) is the best bet after adding any new material to the .RC Does any one know if resources embeded in an executbale can be enumerated by any means at run time? Is their a schedule of the associated .RES (.RC) stored with the RES? As I thought this might be useful for building in internal text searching and presentation of results. Paul On 12/12/2007, Conor Boyd <[EMAIL PROTECTED]> wrote: > > Very nice Paul, thanks for sharing. I've used .RC files before to > include other things as resources in executables, but what you've shared > looks like a great use for it. > > ------------------------------ > *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > *On Behalf Of *Paul A Norman > *Sent:* Wednesday, 12 December 2007 12:10 a.m. > *To:* NZ Borland Developers Group - Delphi List > *Subject:* [DUG] Delphi 205+ IDE's advantage in generating help for > projects > > > Dear NZ group, > > For quite a while I looked for a decent and easy help system to integerate > into Delphi projects, and there was over the years a bit of talk on the > whole thing. From many of the ideas expressed in the past in this group, and > a some help from Google ( http://*delphi*.about.com<http://delphi.about.com/>, > Jan Verhoeven http://www.jansfreeware.com/articles/delphiresource.html, > Peter D Johnson, Llanarth, Ceredigion, Wales, UK > http://www.delphidabbler.com/articles?article=10 ) > I ended up with the following approach which so far is proving very > robust. > And shared here in case any one is looking for a low key and straight > forward approach. > I would appreciate any feedback or improvements please. > > From at least Delphi 2005 (if not D7?) forward there is an integration in > the IDE that allows you to create a .RC file and include it in the project > so that the resulting RES file compiles into the executible automatically. > Well that will not be news to many, but this gives the opening to easily > build html type help directly into a project with a minumin of effort. > (e.g. {$R 'html.res' 'html.rc'} ) > > [snip] > > > _______________________________________________ > NZ Borland Developers Group - Delphi mailing list > Post: [email protected] > Admin: http://delphi.org.nz/mailman/listinfo/delphi > Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: > unsubscribe >
_______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: [email protected] Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe
