[fpc-pascal] GetCurrentThreadID to string

"Vinzent Höfler" JeLlyFish.software at gmx.net
Thu May 21 10:41:34 CEST 2009


Graeme Geldenhuys <graemeg.lists at 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 (QWord(GetCurrentThreadID));

?


Vinzent.
-- 
Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss für nur 17,95 Euro/mtl.!* http://dslspecial.gmx.de/freedsl-aktionspreis/?ac=OM.AD.PD003K11308T4569a



More information about the fpc-pascal mailing list