I have been using Tperlregex for some time now. but today, when I try to compile an application built using Tperlregex, it causes a "fatal error: L3169 internal error".
reg: Tperlregex; begin reg:=Tperlregex.create(nil); //If this line is removed, there is no error prompt. ... ... end;
I am using Perlregex2009.
Please, help.
Edit:
Andreas, Thank you so much.
@Andreas Thank you so much for your reply. I am using Delphi 7. Does your answer work on D7. And I find notes in pcre.pas (.. Delphi 2009 and earlier have a compiler error that can cause an internal error if you install TPerlRegEx in the development time package, and you do not put TPerlRegEx in the run-time package at the same time. Since Delphi 2009 and earlier you you can use PCRE_STATICLINK if you donβt use packages at all (this means that you are not installing it in the IDE ...). I have not installed it in the IDE and I put the perlregex module in the interface. I install these lines in pcre. pas
... {$DEFINE PCRE_LINKDLL} {$IFDEF PCRE_STATICLINK} {$UNDEF PCRE_LINKDLL} {$ENDIF}
He used to work. But today it is not.
source share