DispatchMessage in OSX? lazarus / 33-macOS - Mac OS X ---------------------------------------------------------------------- Josh · 2015-11-28 08:35 Hi Trying to port a Windows Application to OSX and have a problem with Translate and Dispatch Message. In windows I have a thread that analyzes messages for custom messages to process elsewhere. This works fine in windows, but osx does not support TranslateMessage & DispatchMessage Does anyone know of a workaround? Cheers Josh ---------------------------------------------------------------------- jwdietrich · 2015-11-28 09:08 DispatchMessage is a Windows-only function. Do you want to implement inter-process communication? If so, you might want to use the SimpleIPC unit. Alternatively you could implement an AppleEvent handler.