S
Sam Carleton
I have a brain dead simple question: how in the heck do I call invoke
in C++/CLI? I am simply doing a check to see if invoke needs to be
called, but then I cannot for the world figure out how to actual call
Invoke. Nor am I finding an examples anywhere. I know they are out
there, but I simply am not finding them. Please help!!!!!!
In C#:
public delegate void OnStatusHandler(Object sender, StatusEventArgs
args);
In C++/CLI (.Net 2.0)
Void ErrorHdlrDlg::OnInstrStatus_Changed(Object^ sender,
StatusEventArgs^ e)
{
if( this->InvokeRequired)
{
// somehow call invoke on OnInstrStatus_Changed
}
else
{
}
}
in C++/CLI? I am simply doing a check to see if invoke needs to be
called, but then I cannot for the world figure out how to actual call
Invoke. Nor am I finding an examples anywhere. I know they are out
there, but I simply am not finding them. Please help!!!!!!
In C#:
public delegate void OnStatusHandler(Object sender, StatusEventArgs
args);
In C++/CLI (.Net 2.0)
Void ErrorHdlrDlg::OnInstrStatus_Changed(Object^ sender,
StatusEventArgs^ e)
{
if( this->InvokeRequired)
{
// somehow call invoke on OnInstrStatus_Changed
}
else
{
}
}