I'm creating an OpenFX plugin in C++, and using it on Vegas Pro 17 right now.
The plugin works until I try to call functions from a static library (i.e: zlib or any other libraries). I attached the Visual Studio debugger to the Vegas Pro application and I can see my plugin gets unloaded, but it doesn't tell why.
I have tried using shared libraries instead, but I get the same problem. Any ideas how can I debug this plugin?