12-01-2023, 09:54 AM
Hi Albert,
Intraweb replaces the RTL functions Pos and PosEx for the 64-bit platform. This is done by IW_ApplyRTLPatch().
All calls are redirected to IW.Common.Strings.IWPosEx.
That said. I tested it with IW15.4.2 on both 32-bit and 64-bit and both produce 0 as a result.
Calling IWPosEx directly also results in 0.
Attached my testcase.
Intraweb replaces the RTL functions Pos and PosEx for the 64-bit platform. This is done by IW_ApplyRTLPatch().
Code:
// Std RTL functions Pos() and PosEx() are EXTREMELLY SLOW on x64
// This replaces them using the pure pascal FastCode version
// the new version is 5 to 10 times faster than the RTL versionAll calls are redirected to IW.Common.Strings.IWPosEx.
That said. I tested it with IW15.4.2 on both 32-bit and 64-bit and both produce 0 as a result.
Calling IWPosEx directly also results in 0.
Attached my testcase.

