I was wondering if anybody used Reaper API functions in a juce VST. I managed to use a function within juce_VST_wrapper.cpp within the pluginentrypoint function:
void (*mShowConsoleMsg)(const char* msg);
(long*)&mShowConsoleMsg = audioMaster(NULL,0xdeadbeef,0xdeadf00d,0,(char*)"ShowConsoleMsg",0.0);
Unfortunately I have no idea how to make the mShowConsoleMsg function available in PluginEditor.cpp, any advice?
Actually it works when I add something like
to the JuceVSTWrapper class, and declare