This still doesn't sort out the problem with default GUI size when you first instantiate it in an empty project. Which is why you should have an .ini file somewhere. You can make it so that .ini file is first searched for next to the DLL, but by default it should be created in either ProgramData (for all users) or AppData\Roaming (current user). Then if the user moves the ini file next to the DLL plugin would read from it and write, if possible.Nils Schneider wrote: ↑Tue Jul 07, 2020 1:51 pm I'm going to store the window size as part of the project data chunk, this allows to remember it per instance and it is portable.
This still makes it portable. It's how it was done for Surge synth, and how u-he synths also operate with their .data folders.