Graeme Geldenhuys :
> 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 (QWord(GetCurrentThread
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
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 t