
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.