On 04 Aug 2009, at 17:56, Felipe Monteiro de Carvalho wrote:
But from time to time I also miss PWideChar routines, specially when
converting C code.
wchar_t seldom has the same size as widechar (it's very often 4
bytes). Translating wchar_t* by pwidechar is therefore wrong (except
for spe
Indeed, thanks,
But from time to time I also miss PWideChar routines, specially when
converting C code.
--
Felipe Monteiro de Carvalho
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Felipe Monteiro de Carvalho schrieb:
Hello,
At the moment I need a widestring replacement for StrPos. I searched
for WideStrPos in my FPC 2.2.2 but nothing came. Any ideas?
StrPos is for PChar. Do you mean Pos? There are lots of versions of Pos.
One of them is
Function Pos (Const Substr :
Hello,
>From time to time when I use widestring I miss equivalent functions to
those available for ansistrings.
At the moment I need a widestring replacement for StrPos. I searched
for WideStrPos in my FPC 2.2.2 but nothing came. Any ideas?
And if we really lack more widestring routines, where s