On 10/17/24 18:45, rir via perl6-users wrote:
1) a simple C style call to call system features, etc. P6 has NativeCall, but it is not for the faint of heart.NativeCall makes calling C pretty easy, but that does not negate the difficulty of using C from a second language..
Try writing Win API GetWTSEnumerateSession from Wtsapi32.dll in Raku. It is NOT easy.