Hi All,
I am having trouble getting replies to appear on my Form. I am getting them but I seem to be having an issue with the form Marshalling. I tried one exapmle of it this morning and got no results the code I was using was
internalstaticForm1 myForm1;
privatedelegatevoidAccessFormMarshalDelegate(string textToDisplay);
privatevoid AccessForm(string textToDisplay)
{
rtbIdeaDisplay.AppendText(textToDisplay);
}
internalvoid AccessFormMarshall(string textToDisplay)
{
object[] args = { textToDisplay };
AccessFormMarshalDelegate AccessFormMarshalDelegate1 = null;
AccessFormMarshalDelegate1 = new AccessFormMarshalDelegate(AccessForm); base.Invoke(AccessFormMarshalDelegate1, args);
}
Can any one give me a simple pointer on how best to use Marshalling as I am getting the data at the port but can't display it.
Thanks Glenn