[DUG] UseHTML.pas strangeness
Jeremy North
jeremy.north at gmail.com
Mon Jun 21 12:13:28 NZST 2010
Since the unit probably just has an initialization section that
registers the reader, you most likely have another dcu with the same
name on your path.
An easy test is to delete the pas and dcu of the file you think it is
using. It is still compiles, then you have another copy on your system
somewhere.
On Mon, Jun 21, 2010 at 9:56 AM, Ross Levis <ross at stationplaylist.com> wrote:
> I’m using D7 and for several years I’ve been using a freeware unit UseHTML
> which loads CHM files instead of HLP files when activating the help system.
>
>
>
> As of about 6 months ago, in one of my programs, if I compile it without
> changing any code in the main form, UseHTML doesn’t appear to be used, and
> pressing help produces a dialog saying the CHM file is not a valid Windows
> Help file, which it isn’t.
>
>
>
> If I modify some code in the main form such as inserting a space and
> removing it again, and then compile, it works! I have to keep remembering
> to do this otherwise I get complaints from users.
>
>
>
> Any ideas why I should have to do this every time?
>
>
>
> I had this problem with a different program a year or 2 back but it’s not
> doing it these days. Other programs using the same unit are not affected.
>
>
>
> Thanks,
>
> Ross.
>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject:
> unsubscribe
>
More information about the Delphi
mailing list