Giter VIP home page Giter VIP logo

Comments (4)

nachomartinez80 avatar nachomartinez80 commented on July 30, 2024 1

from vst.net.

obiwanjacobi avatar obiwanjacobi commented on July 30, 2024

What is the error text (stack trace)?
Is the dll you're trying to load 32- or 64-bit?

In general loading .dll's may also fail if a dependent dll cannot be found. Try with a simple VST that has all its dependencies in one folder for instance.

from vst.net.

nachomartinez80 avatar nachomartinez80 commented on July 30, 2024

from vst.net.

obiwanjacobi avatar obiwanjacobi commented on July 30, 2024

That looks more like an output while loading the dll's by the process (or debugger) saying it cannot find any symbols (if I interpreted the French text correctly).

Something else came to mind: Are you sure these plugins are not VST 3.x? Because VST.NET only supports VST 2.x!

If you open the VST plugin dll you want to load in a tool/utility that shows the exported functions (Dll Export Viewer for instance) you should see main or VSTPluginMain (as I do for VST.NET plugins: https://github.com/obiwanjacobi/vst.net/blob/master/Source/Code/Jacobi.Vst.Interop/Jacobi.Vst.Interop.def).
If I remember correctly VST 3.x works with different exports (https://github.com/obiwanjacobi/vst.net/blob/master/Source3/Code/Jacobi.Vst3.TestPlugin/Exports.cs).

Finally if you have verified the plugin is VST 2.x make sure you compile the interop as x64. The GetProcAddress API call I use should then be able to load x64 dll's.
https://github.com/obiwanjacobi/vst.net/blob/master/Source/Code/Jacobi.Vst.Interop/Host/VstUnmanagedPluginContext.cpp

(disclaimer: it's been years so I lost some of the detailed knowledge)

from vst.net.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.