I've been running into a problem using the CreateFiles() function.
Basically, once it's been invoked by a plugin, going to Playing Now (or even any View Scheme) causes MC to crash if CreateFiles is invoked again. This happens even across plugins.
The plugin is set to PluginMode 0, so it doesn't run all the time. If it's set to PluginMode 1, this doesn't happen.
To test this, I created a plugin that does nothing but call this function. The first time it's run, everything's fine. Then you jump to Playing Now, then back to the plugin and you get the follow message: "Unspecified error (Exception from HRESULT : 0x80004005 (E_FAIL))"
So either, I'm using it incorrectly, or it's a bug? Any chance one of you JRiver guys could shed some light on this?
Like I said, if I set the PluginMode to 1, then this problem goes away, but then the plugin behavior isn't really ideal. It would be workable, though, if I could figure out what events are triggered when you navigate away from a plugin or exit it altogether.