On Thu, 2004-09-09 at 20:13, H.Yamamoto wrote: > Hello. > > >irb(main):002:0> thread_id = Win32API.new('kernel32.dll', > >'GetCurrentThreadID', [], "L") > > Last 'D' should be lower case. Try 'GetCurrentThreadId'. > > # Yes, this is quite confusing because 'GetSystemDefaultLangID' exists. > > Douh! Thanks, that works. Guillaume.