I begin in using JUCE, and have a deal that I cannot manage alone.
Here the facts :
- I have a DLL with some core computations
- I have a main app with my own main() that calls previous DLL
- I want to have in the main a progress of the computations done in DLL
Actually, I try to get the progress thanks to object juce::Value in DLL, using a Value::Listener in my main app. But no progress is returned to my main app, and when the app exits, a memory leak shows up.
In the DllMain part, I have initializeJuce_GUI() and shutdownJuce_GUI() in respectively DLL_PROCESS_ATTACH and DLL_PROCESS_DETACH parts.
What am I missing here ?