Henry Vermaak wrote:
On 30/12/2007, Mark Morgan Lloyd <[EMAIL PROTECTED]> wrote:
What's the recommended way of getting the current process ID portably? Ideally
to work in NT4 as well as Linux.
GetProcessID looks like the thing you need:
http://freepascal.org/docs-html/rtl/system/getprocessid.html
Thanks- I really don't know how I missed that.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives