Comments (4)
The VST3 interfaces are binary compatible with COM interfaces. The idea was to use .NET COM support to marshal calls to the .NET counterparts. I never got that working. I cannot remember the details but I think it had to do with the threading-mode (apartment-threading) of the main thread. I remember making several SO questions.
I also wanted it to be cross-platform and so I tried to use mono and experimented with using some internal API -can't remember the details- that also failed and back then the mono community was not very helpful.
from vst.net.
I had the same thought - it looks binary compatible with COM so .net should be able to do all the marshalling for me. I got to the point where the host would load the plugin, create the AudioProcessor but then crash on initializing the EditController, like it's missing a required interface or something. Did you get farther than that?
from vst.net.
I really don't remember, sorry. It was a long time ago and I have done many other things since.
But look at the SO questions I posted during that time - you may find something useful:
- COM interop: https://stackoverflow.com/questions/19465041/interop-com-isch-interface-marshaling-results-in-accessviotlationexception-on
- RCW exception: https://stackoverflow.com/questions/20371718/rcw-finalizer-access-violation
- COM interop 2: https://stackoverflow.com/questions/19479488/returned-managed-object-method-not-called-from-c-in-com-interop
- MTA threading: https://stackoverflow.com/questions/20824541/how-to-force-mta-on-all-threads-calling-from-3rd-party-unmanaged-process-into-ma
Hope it helps...
from vst.net.
No worries - thanks a lot.
from vst.net.
Related Issues (20)
- Interop code in C# HOT 3
- vst.net plugin throws ArgumentException when receiving MIDI events HOT 1
- How to use locally compiled version of Jacobi.Vst.Plugin.Interop HOT 3
- Could not find nuget package location. HOT 5
- `Jacobi.Vst.Samples.Host` error. HOT 5
- How Jacobi.Vst.Host.Interop cancels its dependence on `WinForm`? HOT 6
- Problem loading secondary dependencies from deploy/bin HOT 2
- TimeInfo properties not changing specifically in FL Studio HOT 3
- compiling issues HOT 3
- unhandled exception from Jacobi.Vst.Host.Interop on ProcessReplacing HOT 1
- Loading a managed plugin in a managed host gives error HOT 1
- Discord invite link is stale HOT 2
- .NET6 Support HOT 2
- AudioProcessor in Template does not deploy HOT 1
- Jacobi.Vst.Samples.Host loading reacomp-standalone.dll results in NullReferenceException at HostCommandStub.HostCommands.GetCurrentPluginID() Line 203 HOT 3
- PluginCommandStub.Commands.EditorGetRect(out Rectangle wndRect) seems to always return Rect(X=0, Y=0, Width=400, Height=300) HOT 2
- Sending several simultaneous events to VST HOT 4
- Vst.net compatibility problem with Cantabile? HOT 6
- Less naive methods for copying audio buffers
- Problem loading plugin after updating the project to use VST.NET v2.1.1 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vst.net.