Hi,
How do I convert the GetCurrentThreadID() result to a string?
At the moment for Linux and Windows the following works:
var
lsThreadID: string
begin
lsThreadID := IntToStr(GetCurrentThreadID);
But under Mac OS the above code gives me the following error:
Error:
Incompatible
lsThreadID := IntToStr(PtrUInt(GetCurrentThreadID));
should solve ANY problem.
thanks,
dmitry
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Graeme Geldenhuys graemeg.li...@gmail.com:
How do I convert the GetCurrentThreadID() result to a string?
At the moment for Linux and Windows the following works:
var
lsThreadID: string
begin
lsThreadID := IntToStr(GetCurrentThreadID);
lsThreadID := SysUtils.IntToStr