[yunqa.de] Re: issue with DIHtmlParser install

  • From: "Kirk Dunlap" <kdunlap@xxxxxxxxx>
  • To: yunqa@xxxxxxxxxxxxx
  • Date: Thu, 17 Jan 2008 14:00:19 -0600

Ralf,
  Yes, that was it, I misunderstood what needed to be changed.  Thanks for
the help


Kirk

On Jan 17, 2008 11:42 AM, Delphi Inspiration <delphi@xxxxxxxx> wrote:

> Kirk Dunlap wrote:
>
> >I followed the steps verbatim, and I still get the same error.  You
> mentioned to open DIUtils.pas and make the changes, however since DIRegEx
> was the last components I extracted and overwrote in my "unified" directory,
> DIUtils.pas was already updated with the changes.
>
> I think you misunerstood and tried it opposite as intended.
>
> You are correct in saying that if you extract DIRegEx last it will
> overwrite DIUtils.pas. But it is the updated DIRegEx DIUtils.pas which is
> wrong! It reads:
>
> procedure ConCatBufW(
>    const Buffer: PWideChar;
>    const WideCharCount: Cardinal;
>    var d: WideString;
>    var InUse: Cardinal);
>
> But instead it should read like this:
>
>  procedure ConCatBufW(
>    const Buffer: Pointer;
>    const WideCharCount: Cardinal;
>    var d: WideString;
>    var InUse: Cardinal);
>
> So you have to change the ConCatBufW declaration back to use "Pointer"
> instead of "PWideChar".
>
> >Keep in mind I've purchased the components WITH OUT sources, this may be
> why DIHtmlParser still complains.
>
> This problem only occurs without sources, and the above change is meant to
> remedy this. If sources are available, the problem does not occur.
>
> >Also, this is on D2007 Pro.
>
> I just did the steps again in D2007. Everything installed just fine no
> problem. Just make sure to change ConCatBufW from "WideChar" to "Pointer",
> and not the other way around.
>
> Ralf
>
> _______________________________________________
> Delphi Inspiration mailing list
> yunqa@xxxxxxxxxxxxx
> //www.freelists.org/list/yunqa
>
>
>
>

Other related posts: