# Message loop outside a JUCE app or plugin

**URL:** <https://forum.juce.com/t/message-loop-outside-a-juce-app-or-plugin/66078>\
**Category:** General JUCE discussion\
**Created:** [May 14, 2025, 12:34pm UTC](https://forum.juce.com/t/message-loop-outside-a-juce-app-or-plugin/66078 "2025-05-14T12:34:34Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![BenCello](https://avatars.discourse-cdn.com/v4/letter/b/dc4da7/32.png) [@BenCello](https://forum.juce.com/u/BenCello)\
**Post date:** [May 14, 2025, 2:57pm UTC](https://forum.juce.com/t/message-loop-outside-a-juce-app-or-plugin/66078/3 "2025-05-14T14:57:21Z")

</div>

Hi @anthony-nicholls  
Thank’s for your answer!  
Instead of running `runDispatchLoop`, I can run `runDispatchLoopUntil` as described in this post: [Suggested improvements in runDispathLoopUntil() on OSX](https://forum.juce.com/t/suggested-improvements-in-rundispathloopuntil-on-osx/36412)  
But even without a `0` argument, I still don’t get messages… And I don’t know why.

Debugging with XCode I think I get some events but I don’t know what happens next…

---

_[View the full topic](https://forum.juce.com/t/message-loop-outside-a-juce-app-or-plugin/66078)._
