Hi I'm new to Pharo (although I was a Smalltalk programmer in the 90's), and I'm trying to use FFI to access an MacOs system function: apiKLGetKeyboardLayoutCount < cdecl: ulong 'KLGetKeyboardLayoutCount' (void) module: 'keyboards'> ^ self externalCallFailed. I get an error "'Unable to find function address'" which seems to say the OS-module "keyboards" can't be found. I can't figure out what the address should be. The function is defined here: http://developer.apple.com/legacy/mac/ library/documentation/Carbon/Reference/KeyboardLayoutServices/ Reference/reference.html (yes, it's deprecated, I have a very old mac runnning 10.4). I'm not sure if I'm using FFI correctly, do I have to somehow include the external library in the Pharo VM? Can anyone help? I'm looked for FFI examples, but don't find anything helpful. David