On 26 Jan 2009, at 09:48, Guru Kathiresan wrote:
In windows wchar_t size is 2 so I thought I can pass a WideString type
casted with PWideChar.
In Mac ,size of wchar_t is 4 in the C library and the size of
WideChar in
FPC is 2.
In that case how do we convert the 2 byte WideChar to 4 byte wc
Hello,
I'm wondering how to pass a unicode string to a C function in Mac.
The C export function has the following definition
void function1(wchar_t *str);
In windows wchar_t size is 2 so I thought I can pass a WideString type
casted with PWideChar.
In Mac ,size of wchar_t is 4 in t