Einzelnen Beitrag anzeigen

Buddelfish
(Gast)

n/a Beiträge
 
#13

AW: Bitte Assembler-Routine verbessern

  Alt 23. Feb 2014, 09:30
How to use with String in XE5? This conversion slow down the function a lot.
Code:
function CharPos_JOH_SSE2_1_b(Ch: Char; const Str: AnsiString; aStart: Integer = 1): Integer;
Zitat:
[dcc32 Warning] Project2.dpr(199): W1057 Implicit string cast from 'AnsiString' to 'string'
Most likely modify the function to accept WideChar and WideString.
  Mit Zitat antworten Zitat