Midi out events from StandaloneFilterWindow app

Hi all,

I’m working on a standalone plugin; I’ve made it using StandaloneFilterWindow, so I used the same code I wrote for a VST/AU plugin.
The plugin produces MIDI events; so in the StandaloneFilterWindow I have enabled the Midi Output selector. Then I want to use something like MIDI Yoke or LoopBe to route MIDI events to other apps, so I choose the proper MIDI stream from the Midi Output selector (for example MIDI Yoke).
I’m monitoring the MIDI events passing through MIDI Yoke, but no events are received.

It works good as audio-to-midi plugin in a host, but it does not work as standalone application.

Could someone help me?

Thanks in advance