Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread Compile error when including WebDom
Sat, Jun 15 2019 1:42 PMPermanent Link

Mario Enríquez

Open Consult

Hi folks,

I would like to use the RegEx functionalitiy implemented in WebDom unit, however, when the unit in include in the uses clause I get errors when trying to compile some components of my own.

The errors, as reported by the compiler are:

Cannot bind to external class TError.
Cannot bind to external class TEvent
Cannot bind to external class TEventHandlerOptions
...
.....

Any ideas?

Regards,
Mario
Sat, Jun 15 2019 10:48 PMPermanent Link

Raul

Team Elevate Team Elevate

On 6/15/2019 1:42 PM, Mario Enr�quez wrote:
> I would like to use the RegEx functionalitiy implemented in WebDom unit, however, when the unit in include in the uses clause I get errors when trying to compile some components of my own.
>
> ....
>
> Any ideas?

If you look at some of the other library units then none of them include
WebDOM in design mode - they IFDEF it out - so it might not be design
time compatible.

Try doing same and see if it helps - basically uses something like :

{$IFNDEF DESIGN}
, WebDOM;
{$ELSE}
;
{$ENDIF}


Raul
Mon, Jun 17 2019 12:43 PMPermanent Link

Mario Enríquez

Open Consult

Thank you Raul, that did the trick.

Regards,
Mario
Image