Remote API dll dynamic wrapper C#

How to use Voicemeeter Remote API and control Voicemeeter Audio Engine
Post Reply
Atg
Posts: 30
Joined: Sat Oct 19, 2019 11:30 am

Remote API dll dynamic wrapper C#

Post by Atg »

I wrote a wrapper for the remote API dll. Unlike the "DllImport" stuff, it can load 32bit or 64bit version in runtime. Not all functions are implemented yet. Any advices/critique from experienced C# developers? I dont want my code to cause some weird unexpected crashes (which I had when I was using incorrect string type :oops: )
Last edited by Atg on Sun Jan 31, 2021 3:47 pm, edited 1 time in total.
Atg
Posts: 30
Joined: Sat Oct 19, 2019 11:30 am

Re: Remote API dll dynamic wrapper C#

Post by Atg »

Looks like I run into a first problem - VBVMR_RunVoicemeeter dont do anything and always return -1 even if I use "DllImport".
Edit: It works when I load VoicemeeterRemote.dll in x86 process.
Post Reply