Aug. 20, 2013
9:29 a.m.
Thanks for your hard work! 1 important remark: NBXLibTypes class>>initialize super initialize. Display := #NBXLibDisplay. Never use 'super initialize' for class initializers. On 20 August 2013 09:42, Torsten Bergmann <astares@gmx.de> wrote:
I just wrapped this in NB last week, so if you have NativeBoost and Windows you can use:
NBWin32Process getCurrentProcessId
(requires the latest packages from http://smalltalkhub.com/#!/~Pharo/NativeBoost)
I'm sure on any other platforms there are API's as well to get the PID, like getpid on Unix. Should be easy to wrap in NB if you follow this tutorial:
https://ci.inria.fr/pharo-contribution/job/PharoForTheEnterprise/lastSuccess...
Bye T.
-- Best regards, Igor Stasenko.