Use of DllImport within dynamic plugins

is is possible to use declarations of DLL-functions within a dynamic plugin ( DllImport(“some.dll”)… )? I’d need the mapVirtualKey function and wonder how to import and use it. I’m not really familiar with c# compiling, so I thougt, may be there is a way to use the dynamic plugin structure for that.

Thank you.

yes, that works of course. see or

thank you!