DetectURLS: RV_CharPos in XE2 not found

General TRichView support forum. Please post your questions here
Post Reply
Zogi
Posts: 2
Joined: Mon Sep 26, 2011 8:27 am

DetectURLS: RV_CharPos in XE2 not found

Post by Zogi »

I like to use automatic URL-Detection, shown in the URL-Demo with DetectURL. Unfortunately the Function "RV_CharPos" is removed in XE2. How would I detect URLs using XE2

{$IFNDEF RICHVIEWDEFXE2}
function RV_CharPos(const Str: PRVAnsiChar; Chr: TRVAnsiChar; Length: Integer): Integer; assembler;
{$ENDIF}
Sergey Tkachenko
Site Admin
Posts: 17566
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Do you use the demo in Demos\DelphiUnicode\Assorted\Hypertext\URLs\ ?
If yes, please download the new version of the demos. They are compatible with Delphi XE2 and do not use RV_CharPos.
Post Reply