I'm struggling to make a plugin send messages to other plugins. Trying to use SPInterfaceSuite and having this code:
sSPInterface->SendMessage(plugin_ref, kCallerAINotify, kSelectorAINotify, &data, &result);
The SendMessage function above doesn't seem to resolve to the suite, but to WinUser.h
When I hover the mose over it, it says "Cannot Resolve symbol SendMessageA", and when I try to trace the definition, I have WinUser.h opening up.
Can somebody advise if/how this can be fixed?
You need to include windows.h before SPInterf.h