setting sSPBasic without passing (message) from photoshop entry point?
I am calling a method to my .8LI from an external application 'Managed' but I am a little stuck with setting the [SPBasicSuite sSPBasic]
SPMessageData* basicMessage = (SPMessageData*)message;
sSPBasic = basicMessage->basic;
I need to acquire the suite from PIUSuites 'To open a document' but I can't seem to set it externally (as a SPMessageData object),
- Is there a global suite that I can access?
- Anything I can do to fire the plugin entry to get the (message)?
- A way I can get SPMessage data without passing it in the plugin entry?
- Any other option to acquire or open the document without using: sSPBasic->AcquireSuite(suiteName, suiteVersion, (const void**)&suite);
It's Windows Automation plugin written in c++.
My current plugin entry:
extern "C" __declspec(dllexport) void __cdecl PluginMain(char* caller, char* selector, void* message){
}
Thanks!
