#1 2014-11-03 13:57:59

itSDS
Member
From: Germany
Registered: 2014-04-24
Posts: 516

define Error in SynCommons.pas

Hi AB

cause of RawUTF8 Strings in used SynCommons.Pos in my code.
Under XE7 Win32 it is available but under Win64 not.
It depends on PurePascal which is wrong.

As a WorkAround i use SynCommons.PosEx(..,..,1) for Win64

Last edited by itSDS (2014-11-03 14:06:59)


Rad Studio 12.1 Santorini

Offline

#2 2014-11-03 19:49:18

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,661
Website

Re: define Error in SynCommons.pas

PosEx(...,1) will work everywhere, and be efficient.

I've defined Pos() for Win64.
See http://synopse.info/fossil/info/f6654e85f1

Thanks for the feedback.

Offline

Board footer

Powered by FluxBB