There is an existing API function which does only allow the plugin(DLL) to receive three parameters and perform some action:
int ProcessMe(int nCommand, unsi
No, there's no way to do that.
Passing by value means copies of the original ones are created. In the method scope, you will have no information about the original variables.
You need to either pass by reference or by value.