
Remote API dll dynamic wrapper C#
Remote API dll dynamic wrapper C#
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
)

Last edited by Atg on Sun Jan 31, 2021 3:47 pm, edited 1 time in total.
Re: Remote API dll dynamic wrapper C#
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.
Edit: It works when I load VoicemeeterRemote.dll in x86 process.
Re: Remote API dll dynamic wrapper C#
All API's procedures are implemented now! Even the Audio Callback ones.
-
- Site Admin
- Posts: 2133
- Joined: Sun Jan 17, 2010 12:01 pm
Re: Remote API dll dynamic wrapper C#
good! maybe we could share on our social and webssite resource page . yes?
VBVMR_RunVoicemeeter has been fixed in last version (it was a problem of registry access to get installation folder).
and value 6 allows to run Potato x64
VBVMR_RunVoicemeeter has been fixed in last version (it was a problem of registry access to get installation folder).
and value 6 allows to run Potato x64
Re: Remote API dll dynamic wrapper C#
Of course, share it.