Thanks for making this crate, it seems very promising. Hopefully we can have Rust/wasm GUIs for VST plugins soon :)
But for now:
In Reaper, it fails during (re)scan.
In VstHost by Herrman Seib (vsthostx64.zip), it loads first, and the host can successfully query its info and I can change the gain parameter without the GUI, but as soon as I try to open the plugin GUI, it freezes the host:

This is the debug build. No error/stacktrace is shown.
Btw, it's the same behavior with both gain.dll and gain.vst3.
Thanks for making this crate, it seems very promising. Hopefully we can have Rust/wasm GUIs for VST plugins soon :)
But for now:
In Reaper, it fails during (re)scan.
In VstHost by Herrman Seib (vsthostx64.zip), it loads first, and the host can successfully query its info and I can change the gain parameter without the GUI, but as soon as I try to open the plugin GUI, it freezes the host:
This is the debug build. No error/stacktrace is shown.
Btw, it's the same behavior with both gain.dll and gain.vst3.