Re: marshalling structure
Change from struct to class, mark with Serializable, and derive from MarshalByRefObject.
Re: marshalling structure
Hi Cilu
I tried that as follows:
[Serializable]
public class FilterParams : MarshalByRefObject
{
public Int32 param1 = 0;
public Int32 param2 = 0;
public Int32 focus = 100;
public bool show = true;
public bool contrast_stretch = false;
public bool sharpen = false;
}
It built ok, but it throws an ExecutionEngineException when I call get_DShowFilter
any ideas ?