vsariola / sointu

Fork of 4klang that can target 386, amd64 and WebAssembly. Tools run on Windows, Mac & Linux
MIT License
239 stars 15 forks source link

VSTI GUI does not show after changing from sointu-vsti-native.dll to sointu-vsti.dll or vice versa #135

Open vsariola opened 1 month ago

vsariola commented 1 month ago

VSTI GUI does not show after changing from sointu-vsti-native.dll to sointu-vsti.dll or vice versa

Steps to replicate:

1) In Renoise, add sointu-vsti.dll. The GUI pops up.

2) Change the plugin sointu-vsti-native.dll. The GUI does not pop up.

Optional: 3) Change back to sointu-vsti.dll. The GUI pops up again.

The bug works the other way around: you can first load sointu-vsti-native.dll and it works, yet when you switch to sointu-vsti.dll, it doesn't.

This is somehow related to how the original dll stays in memory and never gets released, and when the second dll gets loaded, the original dll interferes with the loading of the second dll.