I created a 64 bits Plugin (VST JUCE) and it creates a new process that is a 32 bits application. In this application I host a 32 bits Plugin (VST JUCE).
Now I wonder if it's possible to make the editor of the 32 bits process attach its editor to the main 64 bits plugin window handle. I could pass the original window handle using my piped process. And call:
VSTPluginFormat::dispatcher(pluginLoad, 14, 0, 0, windowHandle, 0);
The code 14 opens the editor.
So the question is, does Windows allow this? Or are windows handle private to each program/process?
If I could do this, I just need to figure out how to convert a windows handle void* into an int64 and send to my process. There I need to convert back from int64 to void*.
Thank you.